Part Number Hot Search : 
MBRS130L 080CT TLYE62TF R24D15 76650 8E222 P12N60 0524S
Product Description
Full Text Search
 

To Download MB91110 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 FUJITSU SEMICONDUCTOR DATA SHEET
DS07-16307-1E
32-Bit RISC Microcontroller
CMOS
FR Family MB91110 Series
MB91110/MB91V110
s DESCRIPTION
The MB91110 series is a standard single-chip micro controller featuring various I/O resources and bus control mechanisms to incorporate the control with required for high performance high-speed CPU processes, having a 32-bit RISC CPU (FR30 series) in its core. Although external bus access is the basis for supporting a large address space accessible by a 32-bit CPU, a 1-KB instruction cache memory has been built-in to increase the instruction/ execution speed of the CPU. This unit features the optimal specifications for incorporating applications that require high performance CPU processing power such as navigation systems, high performance facsimile systems, printer control, etc.
s FEATURES
FR30CPU * 32-bit RISC, load / store architecture, 5-level pipeline * Operating frequency : external 25 MHz, internal 50 MHz * Multi-purpose register : 32 bits x 16 * 16-bit fixed length instructions (basic instruction) , 1 instruction per cycle * Instructions for barrel shift, bit processing and inter memory transfers : Instructions suited to loading purposes * Function entry / exit instruction, multi load / store instruction of register details : Instruction capable of handling High level language instruction. * Register Interlock function : Simplification of assembler description (Continued)
s PACKAGE
144-pin plastic LQFP
(FPT-144P-M08)
MB91110 Series
(Continued) * Branch instruction with delay slot : Reduction in overheads in case of branching * Multiplier is built-in / Supported at instruction level Signed 32-bit multiplication : 5 cycles Signed 16-bit multiplication : 3 cycles * Interruption (saving PC and PS) : 6 cycles, 16 priority levels
Bus Interface * 24-bit address bus (16 MB space) * Operating frequency : 25 MHz * 16- / 8-bit data bus * Basic external bus cycle : 2 clock cycles * Chip select output that can be set to a minimum 64-Kbyte units * Interface support for various memories DRAM interface (areas 4, 5) * Automatic waiting cycle : Can be randomly set from 0 to 7 cycles per area * Unused data and address pins can be used as input/output ports. * Supports "little endian" mode (One area is selected from areas 1 to 5) DRAM Interface * 2-bank individual control (area 4, 5) * Normal mode / high speed page mode * Basic bus cycles : normally 5 cycles, 1 cycle access is possible in high-speed page mode. * Programmable waveform : 1 cycle waiting can be inserted automatically in RAS and CAS. * DRAM refresh CBR refresh (Interval is randomly set using the 6-bit timer.) Self refresh mode * Supports addresses for 8, 9, 10 and 12 columns * 2CAS/1WE or 2WE/1CAS can be selected. Cache Memory * 1 KB instruction cache * 2 way set associative * 32 blocks / way, 4 entries (4 words) / block * Lock function : Residing in the specified program codes at cache DMA Controller (DMAC) * 5 channels * External external 2.5 access cycles / transfer (if 2 clock cycles are defined as 1 access cycle) * Internal external 1.5 access cycles / transfer (if 2 clock cycles are defined as 1 access cycle) * Address register (inc, dec, or reload are possible) : 32 bits x 5 channels * Transfer count register (reload possible) : 16 bits x 5 channels * Transfer factors : external pin / built-in resources interruption request / software * Transfer sequence Step transfer / block transfer Burst / consecutive transfer * Transfer data length : 8-bit, 16-bit or 32-bit can be selected * Suspension is possible using NMI / interruption request UART * Fully duplicated double buffer * Data length : 7 to 9 bits (without parity) , 6 to 8 bits (with parity) 2
MB91110 Series
* * * * * * Asynchronous (start-stop synchronization) or CLK synchronized communication can be selected. Multiprocessor mode Dedicated baud rate generator is built-in. External clock can be used as the transfer clock Baud rate clock can be output Error detection : parity, frame, overrun
PPG Timer * 16 bits, 6 channels (frequency setting register / duty setting register) * PWM function or one-shot function can be selected * Initiation : Software or external trigger can be selected A/D Converter (sequential conversion type) * 10-bit resolution, 8 channels * Sequential comparison conversion : 5.6 s in the case of 25 MHz * Sample & hold circuit is built-in. * Conversion mode : Single, scan or repeat conversion can be selected. * Initiation : Software, external trigger or built-in timer can be selected. Reloading Timer * 16-bit timer : 2 channels * Internal clock : 2 clock cycle resolutions, 2, 8 or 32 cycles can be selected. * Pin input : event counter input / gate function * Rectangular wave output Other Interval Timer * Watchdog timer : 1 channel Bit Search Module * Searches the first "1" / "0" change bit positions within 1 cycle from MSB in 1 word. Interruption Controller * External interruption input : Mask impossible interruption (NMI) , normal interruption x 8 (INT0 to INT7) * Internal interruption factors : UART, DMAC, A/D, reloading timer, PPG timer, delay interruption * Priority levels are programmable except for mask impossible interruption (16 levels) Reset Factors * Power-on reset / hardware standby / watchdog timer / software reset / external reset Low Power Consumption Mode * Sleep / stop mode Clock Control * Gear functions : Operating clock frequencies peripheral to the CPU can be set randomly and independently. Gear locks can be selected from 1/1, 1/2, 1/4 or 1/8 (or 1/2, 1/4, 1/8, or 1/16) . Others * Package : LQFP-144 * CMOS technology : 0.35 m * Power : 5.0 V 10%, 3.3 V 5%
3
MB91110 Series
s PRODUCT LINEUP
MB91V110 (For evaluation) I-RAM RAM ROM I-$ DSU3 evaluation function 16 Kbyte 5 Kbyte 1 Kbyte Mounted MB91110 (I-RAM mounted version) 16 Kbyte 5 Kbyte 1 Kbyte
4
MB91110 Series
s PIN ASSIGNMENT
(TOP VIEW)
TRG1, 4/PE2 TRG0, 3/PE1 ATG/PE0 VSS VCC5 AN7 AN6 AN5 AN4 AN3 AN2 AN1 AN0 AVSS AVRL AVRH AVCC (OPEN) (OPEN) (OPEN) (OPEN) (OPEN) (OPEN) (OPEN) (OPEN) (OPEN) VCC3 HST RST VSS X1 X0 VCC5 MD2 MD1 MD0 105 100 95 90 85 80 PE3/TRG2, 5 PF0/INT0 PF1/INT1 PF2/INT2 PF3/INT3 PF4/INT4 PF5/INT5 PF6/INT6 PF7/INT7 VSS PG0/DREQ0 PG1/DACK0 PG2/DEOP0 PG3/DREQ1 PG4/DACK1 PG5/DEOP1 VCC5 VCC3 PH0/DREQ2 PH1/DACK2 PH2/DEOP2 PH3/SI PH4/SO PH5/SCK PH6/TI0 PH7/TO0 VSS PI0/TI1 PI1/TO1 PI2/PPG0 PI3/PPG1 PI4/PPG2 PI5/PPG3 PI6/PPG4 PI7/PPG5 VSS 75
110 70
115 65
120 60
125 55
130 50
135 45
140
INDEX 40
10
15
20
25
30
P20/D16 P21/D17 P22/D18 P23/D19 P24/D20 P25/D21 P26/D22 P27/D23 VSS D24 D25 D26 D27 D28 D29 D30 D31 VCC5 VSS A00 A01 A02 A03 A04 A05 A06 A07 VSS A08 A09 A10 A11 A12 A13 A14 A15
(FPT-144P-M08)
35
NMI DW1/PB7 CS1H/PB6 CS1L/PB5 RAS1/PB4 VSS VCC5 DW0/PB3 CS0H/PB2 CS0L/PB1 RAS0/PB0 CLK/PA6 CS5/PA5 CS4/PA4 CS3/PA3 CS2/PA2 CS1/PA1 CS0 VSS WR1/P85 WR0 RD BRQ/P82 BGRNT/P81 RDY/P80 VCC3 VCC5 A23/P67 A22/P66 A21/P65 A20/P64 A19/P63 A18/P62 A17/P61 A16/P60 VSS
1
5
5
MB91110 Series
s PIN DESCRIPTIONS
Pin no. 1 2 3 4 5 6 7 8 10 11 12 13 14 15 16 17 20 21 22 23 24 25 26 27 29 30 31 32 33 34 35 36 38 39 40 41 42 43 44 45 48 Pin name D16/P20 D17/P21 D18/P22 D19/P23 D20/P24 D21/P25 D22/P26 D23/P27 D24 D25 D26 D27 D28 D29 D30 D31 A00 A01 A02 A03 A04 A05 A06 A07 A08 A09 A10 A11 A12 A13 A14 A15 A16/P60 A17/P61 A18/P62 A19/P63 A20/P64 A21/P65 A22/P66 A23/P67 RDY/P80 I/O* Circuit type Function
I/O
C
These pins use bits 16 to 23 of the external data bus. They can be used as a port (P20 to P27) if the external bus width is 8 bits.
I/O
C
These pins use bits 24 to 31 of the external data bus.
I/O
C
These pins use bits 00 to 07 of the external address bus.
I/O
C
These pins use bits 08 to 15 of the external address bus.
I/O
C
These pins use bits 16 to 23 of the external address bus.
I/O
C
This is for external ready input. "0" is input if the bus cycle being executed is incomplete. It can be used as a port when not otherwise used. This is the external bus open reception output. "L" is output if the external bus is opened. It can be used as a port when not otherwise used.
49
BGRNT/P81
I/O
H
(Continued)
6
MB91110 Series
Pin no. 50 51 52
Pin name BRQ/P82 RD WR0
I/O* I/O O O
Circuit type C G G
Function This is the external bus open request input. "1" is input if the external bus is to be opened. It can be used as a port when not otherwise used. This is the external bus read strobe. This is the external bus write strobe. 16-bit bus width 8-bit bus width WR0 (Port is possible) D31-24 D23-16 WR0 WR1
53
WR1/P85
I/O
H
55 56 57 58 59 60
CS0 CS1/PA1 CS2/PA2 CS3/PA3 CS4/PA4 CS5/PA5
O
G
Chip select 0 output (Low active) Chip select 1 output (Low active) Chip select 2 output (Low active) Chip select 3 output (Low active) Chip select 4 output (Low active) Chip select 5 output (Low active) They can be used as ports when not otherwise used. This is the system clock output. The same clock as the standard clock is output. This can be used as a port when not otherwise used. RAS output with DRAM bank 0. CASL output with DRAM bank 0. CASH output with DRAM bank 0. WE output with DRAM bank 0. (Low active) RAS output with DRAM bank 1. CASL output with DRAM bank 1. CASH output with DRAM bank 1. WE output with DRAM bank 1. (Low active) They can be used as ports when not otherwise used. Non Maskable Interrupt (NMI) input. (Low active) These are mode pins from 0 to 2. Basic MCU operation modes are set using these pins. They should be connected directly to VCC or VSS for use. Clock (oscillation) input. Clock (oscillation) output. This is the external reset input. (Low active) This is the hardware standby input. (Low active) Set this to OPEN. Set this to OPEN.
I/O
H
61
CLK/PA6
I/O
H
62 63 64 65 68 69 70 71 72 73 74 75 77 78 80 81 83 84 85 86
RAS0/PB0 CS0L/PB1 CS0H/PB2 DW0/PB3 RAS1/PB4 CS1L/PB5 CS1H/PB6 DW1/PB7 NMI MD0 MD1 MD2 X0 X1 RST HST (OPEN) (OPEN) (OPEN) (OPEN)
I/O
H
I I I O I I
E I
A B E
(Continued)
7
MB91110 Series
Pin no. 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
Pin name (OPEN) (OPEN) (OPEN) (OPEN) (OPEN) AVCC AVRH AVRL AVSS AN0 AN1 AN2 AN3 AN4 AN5 AN6 AN7
I/O*
Circuit type
Function
Set this to OPEN.
Set this to OPEN. VCC power supply for the A/D converter. A/D converter reference voltage (high potential side). Be sure to turn on/off this pin with potential higher than AVRH applied to VCC. A/D converter reference voltage (low potential side). VSS power supply for the A/D converter.
I
D
[AN0 to 7] A/D converter analog input.
106
ATG/PE0
I/O
H
[ATG] This is the external trigger input for the A/D converter. This function is always used if selected as the initiation factor for A/D, so output by other functions should be stopped except when it is carried out intentionally. [PE0] This is a general-purpose input/output port. [TRG0 to 5] These are external trigger input pins of the PPG.
107 108 109 110 111 112 113 114 115 116 117
TRG0, 3/PE1 TRG1, 4/PE2 TRG2, 5/PE3 INT0/PF0 INT1/PF1 INT2/PF2 INT3/PF3 INT4/PF4 INT5/PF5 INT6/PF6 INT7/PF7
I/O
H
[PE1 to 3] These are general-purpose input/output ports. [INT0 to 7] These are external interruption request inputs. This input is always used while the corresponding external interruption is permitted, so output using other functions should be stopped except when carried out intentionally. [PF0 to 7] These are general-purpose input/output ports. [DREQ0] This is the DMA external transfer request input (ch 0) . This input is always used if selected as the transfer factor for DMAC, so outputs from other functions should be stopped except when carried out intentionally. [PG0] This is a multi-purpose input/output port.
I/O
F
119
DREQ0/PG0
I/O
H
(Continued)
8
MB91110 Series
Pin no.
Pin name
I/O*
Circuit type
Function [DACK0] This is the DMAC external transfer request reception output (ch 0) . This function is effective if the transfer request reception output specification of DMAC is permitted. [PG1] This is a multi-purpose input/output port. This function is effective if the transfer request reception output specification of DMAC is prohibited. [DEOP0] This is the DMA transfer end signal output (ch 0) . This function is effective if the transfer end signal output specification of DMAC is permitted. [PG2] This is a multi-purpose input/output port. This function is effective if the transfer end signal output specification of DMAC is prohibited. [DREQ1] This is the DMA external transfer request input (ch 1) . This input is always used if selected as the transfer factor of DMAC, so output using other functions should be stopped except when carried out intentionally. [PG3] This is a multi-purpose input/output port. [DACK1] This is the DMAC external transfer request reception output (ch 1) . This function is effective if the transfer request reception output specification of DMAC is permitted. [PG4] This is a multi-purpose input/output port. This function is effective if the transfer request reception output specification of DMAC is prohibited. [DEOP1] This is the DMA transfer end signal output (ch 1) . This function is effective if the transfer end signal output specification of DMAC is permitted. [PG5] This is a multi-purpose input/output port. This function is effective if the transfer end signal output specification of DMAC is prohibited. [DREQ2] This is the DMA external transfer request input (ch 2) . This input is always used if selected as the transfer factor of DMAC, so output using other functions should be stopped except when carried out intentionally. [PH0] This is a multi-purpose input/output port. [DACK2] This is the DMAC external transfer request reception output (ch 2) . This function is effective if the transfer request reception output specification of DMAC is permitted. [PH1] This is a multi-purpose input/output port. This function is effective if the transfer request reception output specification of DMAC is prohibited.
120
DACK0/PG1
I/O
C
121
DEOP0/PG2
I/O
C
122
DREQ1/PG3
I/O
H
123
DACK1/PG4
I/O
C
124
DEOP1/PG5
I/O
C
127
DREQ2/PH0
I/O
H
128
DACK2/PH1
I/O
C
(Continued)
9
MB91110 Series
Pin no.
Pin name
I/O*
Circuit type
Function [DEOP2] This is the DMA transfer end signal output (ch 2) . This function is effective if the transfer end signal output specification of DMAC is permitted. [PH2] This is a multi-purpose input/output port. This function is effective if the transfer end signal output specification of DMAC is prohibited. [SI] This is UART data input. This input is always used while UART inputs, so outputs from other functions should be stopped except when carried out intentionally. [PH3] This is a general-purpose input/output port. [SO] This is UART data output. This function is effective when UART data output specification is permitted.
129
DEOP2/PH2
I/O
C
130
SI/PH3
I/O
H
131
SO/PH4
I/O
C
[PH4] This is a general-purpose input/output port. This function is effective when UART data output specification is prohibited. [SCK] This is UART clock input/output. Clock output is effective when UART clock output specification is permitted.
132
SCK/PH5
I/O
H
[PH5] This is a general-purpose input/output port. This function is effective when UART clock output specification is prohibited. [TI0] This is reload timer 0 input. It is always used when reload timer input is permitted, so outputs from other functions should be stopped except when carried out intentionally. [PH6] This is a general-purpose input/output port. [TO0] This is reload timer 0 Output. This function is effective when reload timer specification is permitted. [PH7] This is a general-purpose input/output port. This function is effective when reload timer specification is prohibited. [TI1] This is reload timer 1 input. It is always used when reload timer input is permitted, so outputs from other functions should be stopped except when carried out intentionally. [PI0] This is a general-purpose input/output port. [T01] This is the reload timer 1 output. This function is effective if the output specification of the reload timer is permitted.
133
TI0/PH6
I/O
H
134
TO0/PH7
I/O
C
136
TI1/PI0
I/O
H
137
TO1/PI1
I/O
C
[PI1] This is a multi-purpose input/output port. This function is effective if the output specification of the reload timer is prohibited.
(Continued)
10
MB91110 Series
(Continued) Pin no. Pin name
138 139 140 141 142 143 18 46 66 76 104 125 47 82 126 9 19 28 37 54 67 79 105 118 135 144 PPG0/PI2 PPG1/PI3 PPG2/PI4 PPG3/PI5 PPG4/PI6 PPG5/PI7
I/O*
Circuit type
Function [PPG0 to 5] This is the PPG timer 1 output. This function is effective if the output specification of the PPG timer is permitted. [PI2 to 7] This is a multi-purpose input/output port. This function is effective if the output specification of the PPG timer is prohibited.
I/O
C
VCC5
This provides power for the 5 V digital circuit system.
VCC3
This provides power for the 3 V digital circuit system.
VSS
This is the earth level for digital circuits.
* : I/O shown above indicates input/output classification. Note : The I/O port and resource input/outputs for most of the above pins are multiplexed, i.e. Pxx/xxxx. In the event of both the port and resource outputs were to use the same pins, the resource is given priority.
11
MB91110 Series
s I/O CIRCUIT TYPE
Type
X1 Clock input
Circuit types
Remarks * Oscillation feedback resistance : approximately 1 M * 12.5 MHz oscillation
A
X0
STANDBY CONTROL
VCC P-channel type Tr
* CMOS level hysteresis input Without standby control With pull-up resistance
B
VSS
Digital input
Digital output
* CMOS level output CMOS level input With standby control
Digital output
C
Digital input STANDBY CONTROL
* A/D converter Analog input pin D
Analog input
(Continued)
12
MB91110 Series
(Continued) Type
Circuit types
Remarks * CMOS level hysteresis input Without standby control
E
Digital input
Digital output
* CMOS level output * CMOS level hysteresis input Without standby control
F
Digital output
Digital input
* CMOS level output
Digital output
G
Digital output
Digital output
* CMOS level output * CMOS level hysteresis input With standby control
Digital output
H
Digital input STANDBY CONTROL
* CMOS level input Without standby control
I
Digital input
13
MB91110 Series
s HANDLING DEVICES
* Preventing Latch-up The "Latch-up" phenomenon may be generated if a voltage in excess of VCC or lower than VSS is applied to the input/output pins, or if the voltage exceeds the rating between VCC and VSS. If latch-up is generated, the electrical current increases significantly and may destroy certain components due to the excessive heat, so great care must be taken to ensure that the maximum rating is not exceeded during use. * Handling Unused Input Pins Input pins that are not used should be pulled up or down as they may cause erroneous operations if they are left open. * External Reset Input "L" level should be input to the RST pin, which is required for at least five machine cycles to ensure the internal status is reset. * Using External Clocks If external clock is used, X0 pin should be provided, and X1 pin should be provided with reverse phase to X0 pin input. If the STOP mode (oscillation stop mode) is used simultaneously, the X1 pin is stopped with the "H" output. So, when STOP mode is specified, approximately 1 k of resistance should be added externally. An example of the external clock usage methods is shown in the following circuit. Example of External Clock Usage (normal case)
X0 X1 MB91110
Note : Resistance must be added to the X1 pin if the STOP mode (oscillation stop mode) is used. * Power Supply Pins In products with multiple Vcc or Vss pins, the pins of the same potential are internally connected in the device to avoid abnormal operations including latch-up. However you must connect the pins to an external power and a ground line to lower the electro-magnetic emission level to prevent abnormal operation of strobe signals caused by the rise in the ground level, and to conform to the total current rating. Make sure to connect Vcc and Vss pins via the lowest impedance to power lines. It is recommended to provide a bypass capacitor of around 0.1 F between Vcc and Vss pins near the device. * Crystal Oscillator Circuits Noise around the X0 or X1 pins may cause erroneous operation. Make sure to provide bypass capacitors via shortest distances from X0, X1 pins, crystal oscillator (or ceramic resonator) and ground lines, and make sure that lines of oscillation circuits not cross the lines of other circuit. A printed circuit board artwork surrounding the X0 and X1 pins with ground area for stabilizing the operation is highly recommended .
14
MB91110 Series
* N.C. Pins N.C. pins must be opened for use. * Mode Pins (MD0 to MD2) Those pins must be directly connected to VCC or VSS for use. Pattern length between VCC or VSS and each mode pin on the printed-circuit board should be arranged to be as short as possible to prevent the test mode being erroneously turned on due to noise, they should also be connected with low impedance. * In the Event that Power Is Turned on The RST pin must be started from "L" level when the power is turned on, and when the power is adjusted to the VCC level it should be changed to the "H" level after being left for at least five cycles of the internal operation clock. * Original Oscillation Input in the Event that Power Is Turned on The clock must be input until the waiting status for oscillation stability is reset in the event that power is turned on. * Hardware Standby in the Event that Power Is Turned on Standby is not set in the event that power is turned on while the HST pin is set at "L" level. The HST pin becomes effective after being reset, but it must first be returned to "H" level. * Power on Reset When power is turned on, "Power on reset" must be executed. If the power voltage falls below the guaranteed operating voltage, "Power on reset" must be executed by turning on power supply again. * Restrictions for Standby Programs to be set for stop and sleep must be placed on the ROM in the C-bus or address area of the external memory. If placed in the ROM address area on the I-bus, operation can not be guaranteed after returning. * Execution of Programs in I-ROM/RAM Areas In the event that programs in the I-ROM/RAM areas are executed, enter the I-ROM/RAM areas in accordance with the JMP system instruction. Conversely, when accessing from programs in the I-ROM/RAM area to those in other areas, exit in accordance with the JMP system instructions.
15
MB91110 Series
s BLOCK DIAGRAM
FR30 CPU
(16 bit)
Bit Search Module
Instruction RAM 16 KB
I-bus
DMAC (5 ch) DREQ0 DREQ1 DREQ2 DACK0 DACK1 DACK2 DEOP0 DEOP1 DEOP2 RAM 5 KB D-bus (32 bit)
Instruction Cache 1 KB
Harvard Prinston Bus Converter 50 MHz 25 MHz
50 MHz 25 MHz
PLL 50 MHz X0 X1 RST HST INT0 INT7 NMI AN0 AN7 ATG AVCC AVSS AVRH AVRL TI0 TI1 TO0 TO1
32 bit 16 bit Bus Converter
Bus Controller
D31 D16 A23 A00 RD WR0 WR 1 RDY CLK CS0 CS5 BRQ BGRNT RAS0 CS0L CS0H DW0 RAS1 CS1L CS1H DW1
Clock Control Unit
C-bus
DRAM Controller
Interrupt Control Unit
(32 bit)
Port 0 B
A/D Converter (8 ch)
Reload Timer (2 ch)
R-bus (16 bit)
UART
SI SO SCK PPG0 PPG5 TRG0 TRG5
Port E I
16 bit PPG Timer (6 ch)
Note : Pins are described per function. Some of the pins are multiplexed. In the event that REALOS is used, an external interruption or built-in timer should be used to control the time.
16
MB91110 Series
s MEMORY SPACE
The FR30 series has 4 Gbytes (232 addresses) of logic address space which the CPU accesses linearly.
1. Memory Map
Internal ROM external bus modes 0000 0000H I/O 0000 0400H I/O 0000 0800H Access is prohibited 0000 1000H Built-in RAM 5 KB 0000 2400H Access is prohibited 0001 0000H External area 0008 0000H Access is prohibited 000B C000H I-RAM/ROM 16 KB 000C 0000H External area 0010 0000H External area FFFF FFFFH Operating as the internal ROM. Reading mode only can be accessed in the case of I-RAM. Direct addressing area (Refer to "I/O MAP")
Note : MB91110 series only supports internal ROM external bus mode. * Direct addressing area The following areas of the address space are used for I/O. This area is called the "direct addressing area" and the address of the operand can be specified directly during instruction. The direct area differs depending on data size to be accessed. * Byte data access * Half-word data access * Word data access : 0-0FFH : 0-1FFH : 0-3FFH
17
MB91110 Series
2. Registers
There are two types of multi-purpose registers in the FR family. One is a dedicated purpose register that exists within the CPU and the other is a multi-purpose register that exists in the memory. * Dedicated Registers Program Counter (PC) Program Status (PS) Table Base Register (TBR) Return Pointer (RP) System Stuck Pointer (SSP) User Stuck Pointer (USP) Multiplication and Division Results Resister (MDH/MDL)
: 32-bit length; indicates instruction storage position. : 32-bit length; stores register pointers and condition codes. : Holds the starting address of the vector table to be used for Exception, Interruption and Trapping (EIT) . : Holds the address to which you will return to from the sub-routine. : Indicates the systems stuck position. : Indicates the user's stuck position. : 32-bit length; These are the registers for multiplication and division.
32 bit PC Program Counter
Initial values
XXXX XXXXH (Undecided)
PS
Program Status
TBR
Table Base Register
000F FC00H XXXX XXXXH (Undecided) 0000 0000H XXXX XXXXH (Undecided) XXXX XXXXH (Undecided) XXXX XXXXH (Undecided)
RP
Return Pointer
SSP
System Stuck Pointer
USP
User Stuck Pointer
MDH MDL
Multiplication and Division Results Resister
* Program Status (PS) PS is the register that holds the program status and is classified into three categories, namely, Condition Code Register (CCR) , System Condition Code Register (SCR) and Interruption Level Master Register (ILM) .
31 to 21 20 PS
19
18
17
16 15 to 11 10
9 D0 SCR
8 T
7
6
5 S
4 I
3 N
2 Z
1 V
0 C
ILM4 ILM3 ILM2 ILM1 ILM0 ILM
D1
CCR
18
MB91110 Series
* Condition Code Register (CCR) S flag : Specifies the stuck pointer to be used as R15. I flag : Controls permission and prohibition of user interruption requests. N flag : Indicates codes when the computation results are defined as integers that are expressed in complements of 2. Z flag : Indicates if arithmetic results were "0." Indicates when operands are used for computation and defined as integers expressed in comV flag : plements of 2, and indicates whether or not an overflow is generated as a result of the computation. C flag : Indicates whether carrying or borrowing is generated from the highest bit as a result of the computation. * System Condition Code Register (SCR) T flag : Specifies whether or not the step- trace- trap will be valid. * Interruption Level Mask Register (ILM) ILM4 to ILM0 : Holds the interruption level mask values, and those values that are held by the ILM are used for the level mask. Interruption requests can only be accepted when the interruption levels handled within the interruption requests to be input into the CPU are stronger than the levels shown by the ILM. ILM4 0 0 1 ILM3 0 1 1 ILM2 0 0 1 ILM1 0 0 1 ILM0 0 0 1 Interruption level 0 15 31 Weak Strength Strong
19
MB91110 Series
s MULTI-PURPOSE REGISTERS
The multi-purpose registers are CPU registers (R0 to R15) which are used as accumulators for various computations and memory access pointers (field that indicates the address) . * Register bank configuration
32-bit Initial value
R0 R1
XXXX XXXXH
R12 R13 R14 R15
AC (Accumulator) FP (Frame Pointer) SP (Stack Pointer)
XXXX XXXXH 0000 0000H
Special purposes are assumed for the following three registers out of the 16 registers. Thus, some instructions are emphasized. R13 : Virtual accumulator (AC) R14 : Frame Pointer (FP) R15 : Stack Pointer (SP) Initial values for R0 to R14 on resetting are unspecified. The initial value of R15 will be 0000 0000H (SSP value) .
20
MB91110 Series
s MODE SETTING
1. Pins
* Mode pins and set mode Mode pins Mode name MD2 MD1 MD0 0 0 0 0 1 0 0 1 1 0 1 0 1 External vector mode 0 External vector mode 1 Internal vector mode Reset vector access areas External External Internal External data bus width 8-bit 16-bit (Mode register) Bus modes
External ROM external bus mode Setting is prohibited Single chip mode* Usage is prohibited
* : MB91110 series is not supported single chip mode.
2. Register
* Mode register (MODR) and set mode Address 0000 07FFH Initial value Access XXXXXXXXB W
M1
M0
*
*
*
*
*
Bus mode set bit
*
W : Write only X : Undecided * : "0" should always be written for bits other than M1 and M0.
* Bus mode set bit and its functions M1 M0 0 0 1 1 0 1 0 1 Single chip mode
Functions
Remarks Not supported
Internal ROM external bus mode External ROM external bus mode Setting is prohibited
21
MB91110 Series
s I/O MAP
Address 000000H 000004H 000008H 00000CH 000010H 000014H 000018H 00001CH 000020H 000024H 000028H 00002CH 000030H 000034H ADCR 000038H TMRLR SSR (R/W) PDRG (R/W) PDRH (R/W) PDRB Register +0 (R/W) PDR2 PDR6 PDRA +1 (R/W) (R/W) (R/W) XXXXXXXX XXXXXXXX - XXXXXX PDRE PDRI (R/W) (R/W) PDRF (R/W) +2 PDR8 +3 (R/W) Port data register Internal resource
XXXXXXXX
- - X - - XXX
- - - - XXXX XXXXXXXX
XXXXXXXX Reserved Reserved
- - XXXXXX
XXXXXXXX
SIDR/SODR (R/W)
SCR
(R/W)
SMR
(R/W) UART
00001-00 TMRLR
XXXXXXXX CDCR (R/W) 0--11111 (W)
00000100 TMR TMCSR
00000-00
(R) (R/W) (R) (R/W) (R/W) Reload timer 1 Reload timer 0
XXXXXXXX XXXXXXXX (W)
XXXXXXXX XXXXXXXX - - - -0000 00000000 TMR TMCSR XXXXXXXX XXXXXXXX ----0000 00000000
XXXXXXXX XXXXXXXX (R)
ADCS
- - - - - - XX XXXXXXXX
00000000 00000000
A/D converter (Sequential comparison type) Reserved
00003CH
(Continued)
22
MB91110 Series
Address 000040H 000044H 000048H 00004CH 000050H 000054H 000058H 00005CH 000060H 000064H 000068H 00006CH 000070H 000074H 000078H 00007CH 000080H
Register +0 +1 Access is prohibited PDUT (W) PCSR PCNH (R/W) PCNL (W) (R/W) (W) PCNL (R/W) (W) PCNL (R/W) (W) XXXXXXXX PCNL (R/W) (W) PCNL (R/W) (W) PCNL (R/W) 00000000 +2 +3
Internal resource Reserved
XXXXXXXX XXXXXXXX 0000000PCSR PCNH (R/W) 00000000
PPG0
XXXXXXXX XXXXXXXX Access is prohibited PDUT (W)
XXXXXXXX XXXXXXXX 0000000PCSR PCNH (R/W) 00000000
PPG1
XXXXXXXX XXXXXXXX Access is prohibited PDUT (W)
XXXXXXXX XXXXXXXX 0000000PCSR XXXXXXXX PCNH (R/W) 0000000PCSR PCNH (R/W) 00000000
PPG2
XXXXXXXX XXXXXXXX Access is prohibited PDUT (W)
PPG3
XXXXXXXX XXXXXXXX Access is prohibited PDUT (W)
XXXXXXXX XXXXXXXX 0000000PCSR PCNH (R/W) 00000000
PPG4
XXXXXXXX XXXXXXXX Access is prohibited PDUT (W)
XXXXXXXX XXXXXXXX 0000000 00000000
PPG5
XXXXXXXX XXXXXXXX
Reserved
(Continued)
23
MB91110 Series
Address 000084H 000088H 00008CH 000090H 000094H 000098H 00009CH 0000A0H 0000A4H 0000A8H 0000ACH 0000B0H 0000B4H 0000B8H 0000BCH 0000C0H 0000C4H EIRR
Register +0 +1 +2 +3
Internal resource
Reserved (R/W) ENIR (R/W) Reserved External interruption/ NMI
00000000 ELVR
00000000 (R/W)
00000000 00000000
(Continued)
24
MB91110 Series
Address 0000C8H 0000CCH 0000D0H 0000D4H 0000D8H to 0000FCH 000100H to 0001FCH 000200H 000204H 000208H 00020CH 000210H 000214H 000218H 00021CH DDRG
Register +0 +1 +2 +3
Internal resource
Reserved (W) DDRH (W) DDRE DDRI (W) (W) DDRF (W) Data direction register
----0000 00000000
00000000
--000000
00000000
Reserved
DMACS0 0-00-000 DMACC0 DMASA0 XXXXXXXX DMADA0 XXXXXXXX DMACS1 0-00-000 DMACC1 DMASA1 XXXXXXXX DMADA1 XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX 00 --0000 (R/W) XX - 0 0 0 0 0 - - - - XX - X (R/W) (R/W) XXXXXXXX (R/W) XXXXXXXX (R/W) 0 0 - - 0 0 0 0 XX - 0 0 0 0 0 - - - - XX - X (R/W) (R/W) XXXXXXXX (R/W) XXXXXXXX
Reserved
- - - - XXXX XXXX - XXX XXXXXXXX XXXXXXXX
DMA controller channel 0
- - - - XXXX XXXX - XXX XXXXXXXX XXXXXXXX
DMA controller channel 1
(Continued)
25
MB91110 Series
Address 000220H 000224H 000228H 00022CH 000230H 000234H 000238H 00023CH 000240H 000244H 000248H 00024CH 000250H 000254H 000258H 00025CH 000260H
Register +0 DMACS2 0-00-000 DMACC2 DMASA2 XXXXXXXX DMADA2 XXXXXXXX DMACS3 0-00-000 DMACC3 DMASA3 XXXXXXXX DMADA3 XXXXXXXX DMACS4 0-00-000 DMACC4 DMASA4 XXXXXXXX DMADA4 XXXXXXXX DMACR --------------00----- XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX +1 +2 (R/W) 0 0 - - 0 0 0 0 XX - 0 0 0 0 0 - - - - XX - X (R/W) (R/W) XXXXXXXX (R/W) XXXXXXXX (R/W) 0 0 - - 0 0 0 0 XX - 0 0 0 0 0 - - - - XX - X (R/W) (R/W) XXXXXXXX (R/W) XXXXXXXX (R/W) 0 0 - - 0 0 0 0 XX - 0 0 0 0 0 - - - - XX - X (R/W) (R/W) XXXXXXXX (R/W) XXXXXXXX (R/W) -------0 +3
Internal resource
- - - - XXXX XXXX - XXX XXXXXXXX XXXXXXXX
DMA controller channel 2
- - - - XXXX XXXX - XXX XXXXXXXX XXXXXXXX
DMA controller channel 3
- - - - XXXX XXXX - XXX XXXXXXXX XXXXXXXX
DMA controller channel 4
Overall DMA controller
Reserved
(Continued)
26
MB91110 Series
Address 000264H 000268H 00026CH 000270H 000274H 000278H to 0002FCH 000300H to 0003E0H 0003E4H 0003E8H 0003ECH 0003F0H 0003F4H 0003F8H 0003FCH 000400H 000404H ICR00 ICR04
Register +0 +1 +2 +3
Internal resource
Reserved
BSD0 XXXXXXXX BSD1 XXXXXXXX BSDC XXXXXXXX BSRR XXXXXXXX (R/W) (R/W) ---11111 ---11111 XXXXXXXX (R/W) (R/W) ---11111 ICR05 ---11111 XXXXXXXX ICR02 ICR06 ---11111 (R/W) ---11111 ICR01 (R/W) XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX IRMC (W) XXXXXXXX (R/W) XXXXXXXX (W) XXXXXXXX (R) XXXXXXXX ICR03 ICR07 (R/W) (R/W) Interruption controller ---11111 ---11111 Bit search module (R/W) ICHCR (R/W)
--0 0 0 0 0 0
Instruction cache Reserved I-RAM control
-------0
(Continued)
27
MB91110 Series
Address 000408H 00040CH 000410H 000414H 000418H 00041CH 000420H 000424H 000428H 00042CH 000430H 000434H to 00047CH ICR08 ICR12 ICR16 ICR20 ICR24 ICR28 ICR32 ICR36 ICR40 ICR44 DICR
Register +0 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) ICR09 ICR13 ICR17 ICR21 ICR25 ICR29 ICR33 ICR37 ICR41 ICR45 HRCL ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 -------0 +1 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) ICR10 ICR14 ICR18 ICR22 ICR26 ICR30 ICR34 ICR38 ICR42 ICR46 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111
RSRR/WTCR (R/W)
+2 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) ICR11 ICR15 ICR19 ICR23 ICR27 ICR31 ICR35 ICR39 ICR43 ICR47 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111
+3 (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111 ---11111
Internal resource
Interruption controller
Delay interruption
Reserved PDRR (R/W) CTBR (W) Clock control area
000480H 000484H 000488H 00048CH to 0005FCH
STCR WPR
(R/W) (W)
1 XXXX - 0 0 GCR PCTR (R/W) (R/W) 1 1 0 0 1 1-1 0 0--0---
0 0 0 1 1 1-XXXXXXXX
----0 0 0 0
XXXXXXXX
PLL control register
Reserved
(Continued)
28
MB91110 Series
(Continued)
Address 000600H 000604H 000608H 00060CH 000610H 000614H 000618H 00061CH 000620H 000624H 000628H 00062CH 000630H to 0007F8H 0007FCH DDRB ASR1 00000000 ASR2 00000000 ASR3 00000000 ASR4 00000000 ASR5 00000000 AMD0 AMD5 (R/W) (R/W) ---00111 0--00000 EPCR0 ----1100 DMCR4 00000000 AMD1 DSCR (W) -1111111 (R/W) 0000000 LER (W) MODR (W) Register +0 (W) DDR2 DDR6 DDRA (W) 00000001 (W) 00000010 (W) 00000011 (W) 00000100 (W) 00000101 (R/W) (W) 0--00000 00000000 +1 (W) (W) (W) 00000000 00000000 -000000+2 AMR1 00000000 AMR2 00000000 AMR3 00000000 AMR4 00000000 AMR5 00000000 AMD32 (R/W) 00000000 RFCR - - XXXXXX EPCR1 -------DMCR5 00000000 AMD4 DDR8 (W) 00000000 (W) 00000000 (W) 00000000 (W) 00000000 (W) 00000000 (R/W) 0--00000 (R/W) 0---0000 (W) 11111111 (R/W) 0000000Reserved "Little endian" register Mode register External bus interface +3 (W) Data direction register Internal resource
00000000
--0--000
-----000
XXXXXXXX
Note : Do not execute RMW instructions to registers with write-only bits. RMW instruction (RMW : Read / Modify / Write) AND Rj, @Ri OR Rj, @Ri EOR ANDH Rj, @Ri ORH Rj, @Ri EORH ANDB Rj, @Ri ORB Rj, @Ri EORB BANDL #u4, @Ri BORL #u4, @Ri BEORL BANDH #u4, @Ri BORH #u4, @Ri BEORH Data in areas with " " or reserved ones is undecided.
Rj, @Ri Rj, @Ri Rj, @Ri #u4, @Ri #u4, @Ri
29
MB91110 Series
s INTERRUPTION VECTOR
Interruption factor and allocation of interruption vectors / interruption control registers are described in the interruption vector table. Interruption number Interruption vector Interruption address to TBR of Interruption source Offset Hexadecilevel *1 Decimal default *2 mal Reset System reservation System reservation System reservation System reservation System reservation System reservation Coprocessor absence trap Coprocessor error trap INTE instruction System reservation System reservation Step trace trap System reservation Exceptions to undefined instructions NMI request System reservation System reservation External interruption 0 External interruption 1 External interruption 2 External interruption 3 External interruption 4 External interruption 5 External interruption 6 External interruption 7 System reservation UART reception completion System reservation System reservation UART transmission completion System reservation 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 4 fixed 4 fixed 15 (FH) fixed ICR00 ICR01 ICR02 ICR03 ICR04 ICR05 ICR06 ICR07 ICR08 ICR09 ICR10 ICR11 ICR12 ICR13 ICR14 ICR15 3FCH 3F8H 3F4H 3F0H 3ECH 3E8H 3E4H 3E0H 3DCH 3D8H 3D4H 3D0H 3CCH 3C8H 3C4H 3C0H 3BCH 3B8H 3B4H 3B0H 3ACH 3A8H 3A4H 3A0H 39CH 398H 394H 390H 38CH 388H 384H 380H 000FFFFCH 000FFFF8H 000FFFF4H 000FFFF0H 000FFFECH 000FFFE8H 000FFFE4H 000FFFE0H 000FFFDCH 000FFFD8H 000FFFD4H 000FFFD0H 000FFFCCH 000FFFC8H 000FFFC4H 000FFFC0H 000FFFBCH 000FFFB8H 000FFFB4H 000FFFB0H 000FFFACH 000FFFA8H 000FFFA4H 000FFFA0H 000FFF9CH 000FFF98H 000FFF94H 000FFF90H 000FFF8CH 000FFF88H 000FFF84H 000FFF80H
(Continued)
30
MB91110 Series
Interruption number Interruption source System reservation DMAC0 (end, error) DMAC1 (end, error) DMAC2 (end, error) DMAC3 (end, error) DMAC4 (end, error) System reservation System reservation System reservation A/D sequential conversion type Reload timer 0 Reload timer 1 16-bit PPG timer 0 16-bit PPG timer 1 16-bit PPG timer 2 16-bit PPG timer 3 16-bit PPG timer 4 16-bit PPG timer 5 System reservation System reservation System reservation System reservation System reservation System reservation System reservation System reservation System reservation System reservation System reservation System reservation System reservation Delay interruption factor bit System reservation (used under REALOS) *3 Decimal 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 Hexadecimal 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40
Interruption level *1 ICR16 ICR17 ICR18 ICR19 ICR20 ICR21 ICR22 ICR23 ICR24 ICR25 ICR26 ICR27 ICR28 ICR29 ICR30 ICR31 ICR32 ICR33 ICR34 ICR35 ICR36 ICR37 ICR38 ICR39 ICR40 ICR41 ICR42 ICR43 ICR44 ICR45 ICR46 ICR47
Offset 37CH 378H 374H 370H 36CH 368H 364H 360H 35CH 358H 354H 350H 34CH 348H 344H 340H 33CH 338H 334H 330H 32CH 328H 324H 320H 31CH 318H 314H 310H 30CH 308H 304H 300H 2FCH
Interruption vector address to TBR of default *2 000FFF7CH 000FFF78H 000FFF74H 000FFF70H 000FFF6CH 000FFF68H 000FFF64H 000FFF60H 000FFF5CH 000FFF58H 000FFF54H 000FFF50H 000FFF4CH 000FFF48H 000FFF44H 000FFF40H 000FFF3CH 000FFF38H 000FFF34H 000FFF30H 000FFF2CH 000FFF28H 000FFF24H 000FFF20H 000FFF1CH 000FFF18H 000FFF14 000FFF10H 000FFF0CH 000FFF08H 000FFF04H 000FFF00H 000FFEFCH
(Continued)
31
MB91110 Series
(Continued)
Interruption number Interruption source System reservation (used under REALOS) *3 Used under INT instruction Decimal 65 66 to 255 Hexadecimal 41 42 to FF Interruption level *1 Offset Interruption vector address to TBR of default *2 000FFEF8H 000FFEF4H to 000FFD00H
2F8H 2F4H to 000H
*1 : ICR sets the interruption level for each interruption request using the register built into the interruption controller. ICR is prepared in accordance with each interruption request. *2 : TBR is the register that indicates the starting address of the vector table for EIT. Addresses with added offset values that are specified per TBR and EIT factor will be the vector addresses. *3 : REALOS OS/FR uses 0X40, 0X41 interruptions for system codes. Reference : The vector area for EIT is 1 KB in accordance with the address shown by TBR. The size per vector is 4 bytes, and the relationship between the vector numbers and their addresses is shown as follows. vctadr = TBR + vctofs = TBR + (3FCH - 4 x vct) vctadr : vector address vctofs : vector offset vct : vector number
32
MB91110 Series
s PERIPHERAL RESOURCES
1. I/O Port
MB91110 series can be used as the I/O port when settings for resources that handle each pin do not to use the pins for input/output. * Block diagram
Data Bus 0
Resource input
1 PDR read 0 PDR pin
Resource output
Resource output allowed DDR
1
PDR : Port Data Register DDR : Data Direction Register
* I/O Port Registers I/O port is composed of the Port Data Register (PDR) and Data Direction Register (DDR) . * In cases where the input mode is DDR = "0" For PDR reading : Level of external pins to be handled is read out. For PDR writing : Set value is written in PDR. * In cases where the output mode is DDR = "1" For PDR reading : PDR value is read out. For PDR writing : Set value is written in PDR and the PDR value is simultaneously output to the externally handled pin.
33
MB91110 Series
2. Port Data Register (PDR)
Port Data Register (PDR2-I) is the input/output data register for the I/O port. Input/output control is carried out by the handled data direction register (DDR2-I) . * Port Data Register (PDR) PDR2 Address : 000001H PDR6 Address : 000005H PDR8 Address : 00000BH PDRA Address : 000009H PDRB Address : 000008H PDRE Address : 000012H PDRF Address : 000013H PDRG Address : 000014H PDRH Address : 000015H PDRI Address : 000016H
7 P27 7 P67 7 7 7 PB7 7 7 PF7 7 7 PH7 7 PI7 6 P26 6 P66 6 6 PA6 6 PB6 6 6 PF6 6 6 PH6 6 PI6 5 P25 5 P65 5 P85 5 PA5 5 PB5 5 5 PF5 5 PG5 5 PH5 5 PI5 4 P24 4 P64 4 4 PA4 4 PB4 4 4 PF4 4 PG4 4 PH4 4 PI4 3 P23 3 P63 3 3 PA3 3 PB3 3 PE3 3 PF3 3 PG3 3 PH3 3 PI3 2 P22 2 P62 2 P82 2 PA2 2 PB2 2 PE2 2 PF2 2 PG2 2 PH2 2 PI2 1 P21 1 P61 1 P81 1 PA1 1 PB1 1 PE1 1 PF1 1 PG1 1 PH1 1 PI1 0 P20 0 P60 0 P80 0 0 PB0 0 PE0 0 PF0 0 PG0 0 PH0 0 PI0
Initial value XXXXXXXXB Initial value XXXXXXXXB Initial value - - X- - XXXB Initial value - XXXXXX- B Initial value XXXXXXXXB Initial value - - - - XXXXB Initial value XXXXXXXXB Initial value - - XXXXXXB Initial value XXXXXXXXB Initial value XXXXXXXXB
Access R/W Access R/W Access R/W Access R/W Access R/W Access R/W Access R/W Access R/W Access R/W Access R/W
34
MB91110 Series
3. Data Direction Register (DDR)
The Data Direction Register (DDR2-I) controls the input/output direction of the I/O port per bit. 0 is used for input and 1 is used to execute output control. * Data Direction Register (DDR) DDR2 Address : 000601H DDR6 Address : 000605H DDR8 Address : 00060BH DDRA Address : 000609H DDRB Address : 000608H DDRE Address : 0000D2H DDRF Address : 0000D3H DDRG Address : 0000D4H DDRH Address : 0000D5H DDRI Address : 0000D6H
7 P27 7 P67 7 7 7 PB7 7 7 PF7 7 7 PH7 7 PI7 6 P26 6 P66 6 6 PA6 6 PB6 6 6 PF6 6 6 PH6 6 PI6 5 P25 5 P65 5 P85 5 PA5 5 PB5 5 5 PF5 5 PG5 5 PH5 5 PI5 4 P24 4 P64 4 4 PA4 4 PB4 4 4 PF4 4 PG4 4 PH4 4 PI4 3 P23 3 P63 3 3 PA3 3 PB3 3 PE3 3 PF3 3 PG3 3 PH3 3 PI3 2 P22 2 P62 2 P82 2 PA2 2 PB2 2 PE2 2 PF2 2 PG2 2 PH2 2 PI2 1 P21 1 P61 1 P81 1 PA1 1 PB1 1 PE1 1 PF1 1 PG1 1 PH1 1 PI1 0 P20 0 P60 0 P80 0 0 PB0 0 PE0 0 PF0 0 PG0 0 PH0 0 PI0
Initial value Access 00000000B W
Initial value Access 00000000B W
Initial value Access - - 0 - - 000B W
Initial value Access - 000000 -B W
Initial value Access 00000000B W
Initial value Access - - - - 0000B W
Initial value Access 00000000B W
Initial value Access - - 000000B W
Initial value Access 00000000B W
Initial value Access 00000000B W
35
MB91110 Series
4. Instruction Cache
The instruction cache is a temporary storage memory. In the event that the instruction codes are accessed from a low speed external memory, it holds the accessed codes internally, and is used to increase the access speed for all subsequent accesses. Direct read or write access can not be done by instruction cache or instruction cache tag using software. * Cacheable area of the instruction cache Instruction cache allows all space to become a cacheable area. * Built-in ROM shall also be cacheable for products featuring built-in ROMs. * It is assumed that instruction access is not carried out to spaces other than external areas and built-in ROMs. Thus, even if an instruction access is made, it would be cacheable to the control register in the I/O area. * Even though details of the external memory are updated by DMA transfer, it is not coherent with the cache details. In this case, coherency should be established by flushing the cache. * * * * Instruction cache configuration Basic instruction length of FR series : 2 bytes Block layout : 2-way set associative type Block 1 way is configured of 32 blocks. 1 block is 16 bytes ( = 4 sub blocks) 1 sub block is 4 bytes ( = 1 bus access unit)
The instruction cache configuration is shown in the following figure. Instruction Cache Configuration
4 bytes 4 bytes I3 I2 I1 I0 4 bytes 4 bytes 4 bytes
Way 1 Cache tag 32 blocks Sub lock 3 Sub lock 2 Sub lock 1 Sub lock 0 Block 0
Cache tag
Sub lock 3
Sub lock 2
Sub lock 1
Sub lock 0
Block 31
Way 2 Cache tag Sub lock 3 Sub lock 2 Sub lock 1 Sub lock 0 Block 0
32 blocks Cache tag Sub lock 3 Sub lock 2 Sub lock 1 Sub lock 0 Block 31
36
MB91110 Series
5. Instruction Cache Control Register (ICHCR)
The Instruction Cache Control Register (ICHCR) controls the operation of the instruction cache. Writing to ICHCR may effect the cache operation of instructions to be retrieved within the next three cycles. * Instruction Cache Control Register (ICHCR) Instruction Cache Control Register (ICHCR) is shared for use by ways 1 and 2. Initial value Access - - 000000 R/W
07
06
05 GBLK
04 ALFL
03 EOLK
02 ELKR
01 FLSH
00 ENAB
Address : 0000 03E7H
Global lock Auto lock fail Entry auto lock Entry lock release Flush Enable
37
MB91110 Series
6. Clock Generator (Low power consumption mechanism)
The clock generation area is a module with the following functions. * CPU clock generation (including gear function) * Peripheral clock generation (including gear function) * Reset generation and holding factors * Standby function (including hardware standby) * Restraining DMA request * PLL (Phase Locked Loop) is built in * Register list Address 000480H 000481H 000482H 000483H 000484H 000485H 000488H
GCR PCTR 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Initial value Access
1XXXX- 00B 000111 - - B - - - - 0000B XXXXXXXXB 110011- 1B XXXXXXXXB 00 - - 0 - - - B
RSRR/WTCR PDRR
STCR CTBR WPR
R/W R/W R/W W R/W W R/W
38
MB91110 Series
* Block diagram
[ Gear control area ]
R | B U S
GCR register CPU gear CPU clock Peripheral gear PCTR register Internal clock generation circuit Selection circuit Internal bus clock External bus clock Peripheral DMA clock Internal peripheral clock
X0 X1
Oscillation circuit
PLL 1/2
Internal interruption Internal reset
[ Stop/sleep control area ]
STCR register STOP status CPU hold Permission HST pin Status transfer control circuit SLEEP status CPU hold request Reset generation F/F Internal reset
DMA request
[ DMA blocking circuit ] PDRR register
[ Reset factor circuit ] Power on cell RST pin RSRR register [ Watchdog control area ] WPP register Watchdog F/F CTBR register Time base timer Count clock
39
MB91110 Series
7. Bus Interface Outline
The bus interface controls the interface with external memory and external I/O. * Bus Interface Characteristics * 24-bit (16 MB) address output * 6 individual banks using chip selection function Random positional setting is possible on the logical address space at minimum 64-KB units. Total 16 MB x 6 areas can be set using the address pin and chip selection pin. * 16/8-bit bus width can be set per chip selection area. * Insertion of programmable "automatic memory wait" (maximum of 7 cycles) * Supports DRAM interface 3 types of DRAM interface Double CAS DRAM (Normal DRAM I/F) Single CAS DRAM Hyper DRAM 2-bank individual control (control signal i.e. RAS and CAS) DRAM can be selected from 2CAS/1WE or 1CAS/2WE. Supports high-speed page mode Supports CBR / self refresh Programmable corrugation * Unused addresses / data pins can be used as I/O ports. * Supports "little endian" mode * Using clock doubler : Internal 50 MHz, external bus 25 MHz operation * Chip Selection Area A total of six types of chip selection areas are prepared for the bus interface. The position of each area can be randomly arranged per 64 KB at least using area selection registers (ASR1 to 5) and area mask registers (AMR1 to 5) in an area of 4 GB. In the event that access to an external bus is attempted in areas that are specified by those registers, the supported chip selection signals (CS0 to CS5) become activated to "L". Such pins other than CS0 are deactivated to "H" when reset. Note : The area 0 is allocated to space outside the area specified by ASR1 to ASR5. External areas other than 0001 0000H to 0005 FFFFH are deemed area 0 on resetting.
40
MB91110 Series
* Interface The bus interface has the following interface types. * Normal bus interface * DRAM interface These interfaces can only be used in predetermined areas. The following table shows each chip selection area and the usable interface functions.Which interface is to be used is selected in the Area Mode Register (AMD) . If no selection is made, it defaults to the normal bus interface. Chip Selection Area and Selectable Bus Interfaces Selectable bus interface Normal bus Time division DRAM
Areas 0 1 2 3 4 5 * Block Diagram
Remarks On resetting
ADDRESS BUS DATA BUS 32 32
A-OUT EXTERNAL DATA BUS write buffer switch MUX
read buffer
switch
DATA BLOCK ADDRESS BLOCK
+1or+2 inpage address buffer shifter
EXTERNAL ADDRESS BUS
ASR AMR comparator
CS0 CS5
DRAM control DMCR underflow refresh counter from TBT
RAS0, RAS1 CS0L, CS1L CS0H, CS1H DW0, DW1
External pin control area Controls all blocks registers & control
RD WR0, WR1 BRQ BGRNT CLK RDY
41
MB91110 Series
* Register List
Address 00060CH 00060EH 000610H 000612H 000614H 000616H 000618H 00061AH 00061CH 00061EH 000620H 000622H 000624H 000626H 000628H 00062AH 00062CH 00062EH
31
24 23 ASR1 (Area Select Reg. 1) ASR2 (Area Select Reg. 2) ASR3 (Area Select Reg. 3) ASR4 (Area Select Reg. 4) ASR5 (Area Select Reg. 5) AMD0 *1 AMD5 *1 AMD1 *1 DSCR *2
16 15
87 AMR1 (Area Mode Reg. 1) AMR2 (Area Mode Reg. 2) AMR3 (Area Mode Reg. 3) AMR4 (Area Mode Reg. 4) AMR5 (Area Mode Reg. 5) AMD32 *1 AMD4 *1
0
Initial value 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 - - - 00111 00000000 0- - 00000 - -XXXXXX - - - - 1100 -------00000000 00000000 00000001 B 00000000 B 00000010 B 00000000 B 00000011 B 00000000 B 00000100 B 00000000 B 00000101 B 00000000 B 0- - 00000 B 0- - 00000 B 00000000 B 0- - - 0000 B - 0000000 B 11111111 B 0000000- B 0000000- B
Access W W W W W W W W W W R/W R/W R/W R/W W W R/W R/W
RFCR (Refresh Control Register) EPCR1 (External Pin Control 1) DMCR5 (DRAM Control Reg. 5)
EPCR0 (External Pin Control 0) DMCR4 (DRAM Control Reg. 4)
0007FCH
LER *3
*1 : AMD (Area MoDe register) *2 : DSCR (DRAM Signal Control Register) *3 : LER (Little Endian Register) *4 : MODR (MODe Register)
MODR *4
- - - - - - 00
XXXXXXXX B
W
42
MB91110 Series
8. 16-bit Reload Timer
The 16-bit timer is composed of a 16-bit down counter, 16-bit reload register, a pre-scalar for internal count clock preparation and a control register. Selection of the input clock can be made from three types of internal clock (machine clocks with 2, 8 and 32 cycles) and an external clock are selectable for input clock. * Characteristics of the 16-bit reload timer The Pin Output (TO) outputs a toggle waveform whenever underflow is generated in reload mode, and outputs rectangular waves indicating that it is counting in the case of one shot mode. Pin Input (TI) can be used for event input in the case of external event count mode, trigger input or gate input for internal clock mode. If the external event count function is used as the reload mode, it can be used as the cycle device for the external clock. In this type, a 2-channel timer is built-in. Channel 0 of the reload timer can start up DMA transfer using the interruption request signal. The DMA controller clears the interruption flag of the reload timer at the same time as receiving the transfer request. The TO output from channel 0 for the reload timer is connected to the A/D converter inside the LSI. Thus, A/D conversion can be started on a cycle set at the reload register.
43
MB91110 Series
* Block Diagram
16 16-bit reload register R | B U S
8
Reload RELD 16-bit down counter UF OUTE OUTL 2 GATE CSL1 Clock selector CSL0 Retrigger IN CTL. EXCK
3
16 OUT CTL. 2
INTE UF CNTE TRG IRQ
2
Port (TI) Port (TO)
2
5
21 2
Pre-scalar Clear
3 MOD2 MOD1
Internal clock
MOD0
3
* Register List * Control status register (TMCSR) Address 15 14 13
000036H
12 4 RELD
11 CSL1 3 INTE
10 CSL0 2 UF
9 MOD2 1 CNTE
8 MOD1 0 TRG
Initial value
- - - - 0000B
Access
R/W
7
6 OUTE
5 OUTL
000037H
MOD0
00000000B
R/W
* 16-bit timer register (TMR) Address 15
00002AH 000032H
0
Initial value
XXXXXXXX XXXXXXXX XXXXXXXXB XXXXXXXXB
Access
W
* 16-bit reload register (TMRLR) Address 15
000028H 000030H
0
Initial value
XXXXXXXX XXXXXXXX XXXXXXXXB XXXXXXXXB
Access
W
44
MB91110 Series
9. PPG Timer
The PPG timer can output pulses that are synchronized with soft triggers or externally. Also, the cycle and duty of the output pulses can be changed randomly by replacing the two 16-bit register values. In this type, there are 6 built-in channels with this function. * PPG timer function The PPG timer has two functions as follows. * PWM function This can be synchronized to the trigger and is programmable to output pulses while rewriting the above register values. It can also be used as a D/A converter by using an additional circuit. * One-shot function This detects the edge of the trigger input and outputs a single pulse. * Block Diagram
PCSR
PDUT
Pre-scalar /2 /8 / 32 / 128
ck 16-bit Down counter Start
Load
cmp
Borrow
PPG mask S Q
PPG output
R
Reverse bit Enable TRG input (only channels 0 to 2) Edge detection Soft trigger
Interruption selection
IRQ
45
MB91110 Series
* Register List * Cycle setting register (PCSR) Address
000046H 00004EH 000056H 00005EH 000066H 00006EH
bit 15
87 0
Initial value
Access
XXXXXXXX
XXXXXXXXB
W
* Duty setting register (PDUT) Address
000048H 000050H 000058H 000060H 000068H 000070H
bit 15
87 0
Initial value
Access
XXXXXXXX
XXXXXXXXB
W
* Control/status register (PCNH/PCNL) Address
00004AH 000052H 00005AH 000062H 00006AH 000072H
bit 15
87 0
Initial value
Access
0000000 -
00000000B
R/W
46
MB91110 Series
10. External Interruption/NMI Control Area
The external interruption / NMI control area controls the external interruption requests to be input to the NMI and INT0 to INT7. "H" or "L" and "rising edge" or "falling edge" can be selected as the requested detection level (except for NMI) . Also, four requests from INT0 to INT3 can be used as the DMA request. * Block diagram
R BUS 8 Interruption permission register 9 Gate 8 Factor F/F 9 INT0 INT7 NMI
Interruption requests
Edge detection circuit
Interruption factor register
8 Request level setting register
* Register list * External interruption permission register (ENIR) Address bit 7 6 5 4 000095H
EN7 EN6 EN5 EN4
3 EN3
2 EN2
1 EN1
0 EN0
Initial value Access 00000000B R/W
* External interruption factors register (EIRR) Address bit 15 14 13 12 000094H
ER7 ER6 ER5 ER4
11 ER3
10 ER2
9 ER1
8 ER0
00000000B
R/W
* Request level setting register (ELVR) Address bit 15 14 13 000098H bit 000099H
LB7 7 LB3 LA7 6 LA3 LB6 5 LB2
12 LA6 4 LA2
11 LB5 3 LB1
10 LA5 2 LA1
9 LB4 1 LB0
8 LA4 0 LA0
00000000B
R/W
00000000B
R/W
47
MB91110 Series
11. Delay Interruption Modules
This is a module to generate interruptions to switch tasks. This module can be used with software to generate / cancel interruption requests to the CPU. * Block diagram
WRITE Resource request ICR CMP DICR ICR ILM IL CMP
Delay interruption
Interruption controller
CPU
* Register list Address 000430H
bit 7 6 5 4 3 2 1 0 DLYI
Initial value - - - - - - - 0B
Access R/W
48
MB91110 Series
12. Interruption Controller
The interruption controller carries out interruption reception and arbitration. * Hardware configuration of the interruption controller This module is configured for the following items. * ICR register * Interruption priority judgement circuit * Interruption level, interruption number (vector) generation area * Cancellation request generation area for HOLD request * Major interruption controller functions This module has the following functions. * Detection of NMI request / interruption request * Priority grade judgement (depending on the level and number) * Transferring interruption level of factors for the judgement results (to CPU) * Transferring interruption number of factors for the judgement results (to CPU) * Recovery instruction from stop mode by generating NMI / interruption * Cancellation of HOLD request to the bus master
49
MB91110 Series
* Block Diagram
INT0*2
IM
Priority grade judgement
OR NMI
NMI processing
4
5
Cancellation request for holding
LEVEL 40
LEVEL judgement
ICR00 RI00 6
Generation of LEVEL VECTOR
HLDCAN*3
VECTOR judgement
ICR47
VCT5 0
RI47 (DLYIRQ) DLYI*1
R-BUS
*1 : DLYI indicates delay interruption. (Refer to the chapter on delay interruption module for details.) *2 : INTO is the wake-up signal to the clock control area in case of sleep or stop. *3 : HLDCAN is the bus vacation request signal to bus masters other than the CPU.
50
MB91110 Series
* Register list
Address 000400H 000401H 000402H 000403H 000404H 000405H 000406H 000407H 000408H 000409H 00040AH 00040BH 00040CH 00040DH 00040EH 00040FH 000410H 000411H 000412H 000413H 000414H 000415H 000416H 000417H 000418H 000419H 00041AH 00041BH 00041CH 00041DH 00041EH 00041FH 000420H 000421H 000422H 000423H 000424H 000425H 000426H 000427H 000428H 000429H 00042AH 00042BH 00042CH 00042DH 00042EH 00042FH 000431H bit 7 6 5 4 3 2 1 0 ICR00 ICR01 ICR02 ICR03 ICR04 ICR05 ICR06 ICR07 ICR08 ICR09 ICR10 ICR11 ICR12 ICR13 ICR14 ICR15 ICR16 ICR17 ICR18 ICR19 ICR20 ICR21 ICR22 ICR23 ICR24 ICR25 ICR26 ICR27 ICR28 ICR29 ICR30 ICR31 ICR32 ICR33 ICR34 ICR35 ICR36 ICR37 ICR38 ICR39 ICR40 ICR41 ICR42 ICR43 ICR44 ICR45 ICR46 ICR47 HRCL Initial value - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 - - - 11111 Acces R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 ICR4 ICR3 ICR2 ICR1 ICR0 R R R/W R/W R/W R/W R/W R/W R/W R/W LVL4 LVL3 LVL2 LVL1 LVL0
51
MB91110 Series
13. Interruption Control Register (ICR)
This function is set up per interruption input and sets the interruption level of interruption requests to be handled. * Register list
bit 7 6 5 4 ICR4 R 3 ICR3 R/W 2 ICR2 R/W 1 ICR1 R/W 0 ICR0 R/W
[bit 4 to 0] ICR4 to 0 The interruption level of the interruption requests that are handled is specified by the interruption level setting bit. In cases where the interruption level that is set in this register is the same as or more than the level mask value that is set (has been set) in the ILM register of the CPU, the interruption request is masked at the CPU side. It is initialized to 11111B on resetting. The settable interruption level setting bit and interruption level are shown in following Table. Interruption Level Setting Bit and Interruption Level ICR2 ICR1 ICR0 Interruption level 0 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 (Low) Interruption is prohibited NMI Maximum settable level (High) System reservation
ICR4 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
ICR3 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
Note: ICR 4 is fixed as "1" and can not be written as "0".
52
MB91110 Series
14. 10-bit A/D Converter
The A/D converter is the module that converts analog input voltages to a digital value. * * * * * Characteristics of A/D Converter Minimum converting time : 5.6 s/channel Sample & hold circuit is built-in. Resolution : 10 bits Selection can be made for analog input from 8 channels. Single conversion mode : 1 channel is selected for conversion Scan conversion mode : Converts multiple number of consecutive channels. Maximum 8 channels are programmable. Consecutive conversion mode : Repeatedly converts the specified channel. Suspension / conversion mode : Suspends after converting 1 channel and waits until the next one is started up (synchronization for starting conversion is possible)
* Initiation of DMA transfer by interruption is possible. * Initiation factor can be selected from software, external trigger (falling edge) or reload timer (rising edge) . * Block Diagram
AVCC AVR AVSS
Internal voltage generator MPX AN0 AN1 Input circuit AN2 AN3 AN4 AN5 AN6 AN7 Sample & hold circuit Sequential comparison register Comparator R | B U S
Data register Decoder ADCR
A/D control register 1 ATG Starting up External trigger Starting up timer Operation clock ADCS
TIM0 (Internal connection) (Reload timer channel 0)
(Peripheral system clock)
Pre-scalar
53
MB91110 Series
* Register List * Control Status Register (ADCS) bit Address
15 14 INT 13 INTE 12 PAUS 11 STS1 10 STS0 9 STRT 8
Initial value Access
00000000B R/W
00003AH
BUSY
bit
7 6 MD0 5 ANS2 4 ANS1 3 ANS0 2 ANE2 1 ANE1 0 ANE0
00003BH
MD1
00000000B
R/W
* Data Register (ADCR) bit Address
15 14 13 12 11 10 9 9 8 8
Initial value Access
000038H
- - - - - - XXB
R
bit
7 6 6 5 5 4 4 3 3 2 2 1 1 0 0
000039H
7
XXXXXXXXB
R
54
MB91110 Series
15. UART
UART is the serial I/O port for carrying out asynchronous (start-stop synchronization) or CLK synchronous communication. * * * * * * * * * Characteristics of UART FDX double buffer Asynchronous (start-stop synchronization) and CLK synchronous communication are possible. Supports multi processor mode Dedicated baud rate generator is built-in. Free baud rate can be set using an external clock. Error detection function (parity, framing, overrun) Transfer signal is NRZ code Initiation of DMA transfer is possible by interruption.
55
MB91110 Series
* Block Diagram
Control signal Dedicated baud rate generator 16-bit reload timer (internal connection) Clock selection circuit External clock Reception control circuit SI Start bit detection circuit Reception bit counter Reception parity counter Transmission control circuit Transmission starting circuit Transmission bit counter Transmission parity counter SO Reception clock Transmission clock Reception interruption (to CPU) SCK Transmission interruption (to CPU)
Reception status judgement circuit
Shifter for reception
Shifter for transmission Start transmission SODR
End of reception SIDR Reception error generation signal for DMA (to DMAC)
R - BUS
SMR register
MD1 MD0 CS2 CS1 CS0 SCKE SOE
SCR register
PEN P SBL CL A/D REC RXE TXE
SSR register
PE ORE FRE RDRF TDRE RIE TIE
Control signal
56
MB91110 Series
* Register List
* Serial Mode Register (SMR) Address bit 7 6 000023H
MD1 MD0
5 CS2
4 CS1
3 CS0
2
1 SCKE
0 SOE
Initial value Access 00000 - 00B R/W
* Serial Control Register (SCR) bit 15 14 000022H
PEN P
13 SBL
12 CL
11 A/D
10 REC
9 RXE
8 TXE
Initial value 00000100B
Access R/W
* Serial Input Data Register/Serial Output Data Register (SIDR/SODR) bit 7 6 5 4 3 2 1 000021H
D7 D6 D5 D4 D3 D2 D1
0 D0
Initial value XXXXXXXXB
Access R/W
* Serial Status Register (SSR) bit 15 14 000020H
PE ORE
13 FRE
12 RDRF
11 TDRE
10
9 RIE
8 TIE
Initial value Access 00001 - 00B R/W
* Communication Pre-scalar Control Register (CDCR) bit 7 6 5 4 3 000025H
MD DIV4 DIV3
2 DIV2
1 DIV1
0 DIV0
Initial value Access 0 - - 11111B R/W
57
MB91110 Series
16. DMA Controller (DMAC)
The DMA controller is the module to realize Direct Memory Access (DMA) transfers with FR 30 series devices. DMA transfers controlled by this module enable quick and direct transfer of all data without using the CPU and thus system performance is increased. * Hardware Configuration of DMA Controller This module is mainly configured of the following items. * Internal I/O access control circuit * 32-bit address counters (possible reload specification : 10) * 16-bit transfer number counters (possible reload specification : 5) * External transfer request input pin : DREQ0, DREQ1, DREQ2 * External transfer request reception output pin : DACK0, DACK1, DACK2 (external bus synchronization) * External transfer termination output pin : DEOP0, DEOP1, DEOP2 (external bus synchronization) * Major Function of DMA Controller There are the following functions for data transfer using this module. * Independent data transfer of a number of channels is possible (5 ch) * Priority ranking amongst channels Fixed ranking (ch.0 > ch.1 > ch.2 > ch.3 > ch.4) Ranking between channel 0 and 1 can be reversed. * Transfer request Dedicated external pin input (Edge detection / level detection selection are possible for channels 0 to 2 only.) Built-in peripheral request (interruption requests are shared. External interruption is included.) Software request (register writing) * Transfer sequence Consecutive / burst transfer Step transfer / block transfer (Maximum 16 words are settable.) * Addressing mode : 32-bit full address specification (increase / decrease / fix) * Data types : Byte, half word, word length * Single shot or reload can be selected.
58
MB91110 Series
* Block Diagram
DREQ0 DREQ1 DREQ2 Peripheral interruption request Peripheral interruption request External transfer request input Detection / processing External transfer request Transfer request processing Each channel request Controls arbitration of requests, priority judgement and decision on transferring channels Transfer start request Hold control Hold request DACK0 DACK1 DACK2 DEOP0 DEOP1 DEOP2 Control counting address / the number of times Counter of the number of transfer times Interruption control Data control Channel instruction External input setting Each channel request setting Each channel transfer mode setting Input setting register Request setting register Mode setting register Address control register Each channel address generation control
Address counter Address Address registers
End
No. of times
Transfer state machine (bus control)
No. of times registers D-BUS
ACK.
Data buffer
FR30 CPU
59
MB91110 Series
* Register List Address
000200H 000204H 000208H 00020CH 000210H 000214H 000218H 00021CH 000220H 000224H 000228H 00022CH 000230H 000234H 000238H 00023CH 000240H 000244H 000248H 00024CH 000250H
bit 31
ch.0 Control/status register ch.0 Addressing/transfer counting register ch.0 Transfer originator address register ch.0 Destination address register ch.1 Control/status register ch.1 Addressing/transfer counting register ch.1 Transfer originator address register ch.1 Destination address register ch.2 Control/status register ch.2 Addressing/transfer counting register ch.2 Transfer originator address register ch.2 Destination address register ch.3 Control/status register ch.3 Addressing/transfer counting register ch.3 Transfer originator address register ch.3 Destination address register ch.4 Control/status register ch.4 Addressing/transfer counting register ch.4 Transfer originator address register ch.4 Destination address register DMACS0
0
Initial value
0 - 0 0 - 0 0 0 0 0 - - 0 0 0 0B XX - 0 0 0 0 0 - - - - XX - XB - - - - XXXX XXXX - XXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB 0 - 0 0 - 0 0 0 0 0 - - 0 0 0 0B XX - 0 0 0 0 0 - - - - XX - XB - - - - XXXX XXXX - XXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB 0 - 0 0 - 0 0 0 0 0 - - 0 0 0 0B XX - 0 0 0 0 0 - - - - XX - XB - - - - XXXX XXXX - XXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB 0 - 0 0 - 0 0 0 0 0 - - 0 0 0 0B XX - 0 0 0 0 0 - - - - XX - XB - - - - XXXX XXXX - XXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB 0 - 0 0 - 0 0 0 0 0 - - 0 0 0 0B XX - 0 0 0 0 0 - - - - XX - XB - - - - XXXX XXXX - XXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB XXXXXXXX XXXXXXXXB - - - - - - - - - - - - - - - -B 0 0 - - - - - - - - - - - - - 0B
Access
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
DMACC0 DMASA0 DMADA0 DMACS1 DMACC1 DMASA1 DMADA1 DMACS2 DMACC2 DMASA2 DMADA2 DMACS3 DMACC3 DMASA3 DMADA3 DMACS4 DMACC4 DMASA4 DMADA4 DMACR
Overall control register
*: Shaded areas indicate where nothing exists.
60
MB91110 Series
17. Bit Search Module
Bit search module searches for 0, 1 or change points on data that has been written in the input register, and returns the detected bit position. * Block Diagram
D-BUS Input latch
Address decoder
Detection mode
Changing to 1 detection data
Bit search circuit
Detection results
* Registers List Address
0003F0H 0003F4H 0003F8H 0003FCH 31 0
Initial value
XXXXXXXX XXXXXXXB XXXXXXXX XXXXXXXB XXXXXXXX XXXXXXXB XXXXXXXX XXXXXXXB XXXXXXXX XXXXXXXB XXXXXXXX XXXXXXXB XXXXXXXX XXXXXXXB XXXXXXXX XXXXXXXB
Access
W R/W W R
Data register for 0 detection(BSD0) Data register for 1 detection(BSD1) Data Register for Change Point Detection(BSDC) Detection Results Register(BSRR)
18. I-RAM
This type has 16 KB of built-in I-RAM (RAM dedicated for instructions) . Efficient processing becomes possible by pre-arranging interruption processing programs and such like in this area. Writing on I-RAM is possible via the data bus and is used in case of debugging. * Register List IRMC Address : 0003EFH
7 6 5 4 3 2 1 0 IRMD
Initial value Access -------0 R/W
61
MB91110 Series
s ELECTRICAL CHARACTERISTICS
1. Absolute Maximum Ratings
Rating Min. VCC3 - 0.3 VSS - 0.3 VSS - 0.3 VSS - 0.3 VSS - 0.3 VSS - 0.3 VSS - 0.3 0 -55 Max. VSS + 6.0 VSS + 3.6 VSS + 3.6 VSS + 3.6 VCC5 + 0.3 AVCC + 0.3 VCC5 + 0.3 10 4 100 50 -10 -4 -50 -20 650 +70 +150 (VSS = AVSS = AVRL = 0 V) Symbol VCC5 VCC3 AVCC AVRH VI VIA VO IOL IOLAV IOL IOLAV IOH IOHAV IOH IOHAV PD TA Tstg Unit V V V V V V V mA mA mA mA mA mA mA mA mW C C *5 *5 *3 *4 *3 *4 Remarks *1 *1 *2 *2
Parameter Power voltage Analog power voltage Standard analog voltage Input voltage Analog pin input voltage Output voltage Maximum "L" level output current Average "L" level output current Maximum total "L" level output current Average "L" level total output current Maximum "H" level output current Average "H" level output current Maximum total "H" level output current Average "H" level total output current Electricity consumption Operating temperature Storage temperature
*1 : VCC3/VCC5 must not be lower than VSS - 0.3 V. *2 : Care must be taken that this does not exceed VCC + 0.3 V when the power is turned on. *3 : Peak value of the pin concerned is regulated as the maximum output current. *4 : Average current within 100 ms flowing in the pin concerned is regulated as the average output current. *5 : Average current within 100 ms flowing in all pins concerned is regulated as the average total output current. WARNING: Semiconductor devices can be permanently damaged by application of stress (voltage, current, temperature, etc.) in excess of absolute maximum ratings. Do not exceed these ratings.
62
MB91110 Series
2. Recommended Operating Conditions
Value Min. 4.5 3.135 VSS - 3.0 AVSS 0 Max. 5.5 3.465 VSS + 3.465 AVCC +70 V V V C
(VSS = AVSS = AVRL = 0 V) Unit Remarks Keeping RAM status in the case of normal operations / stopping
Parameter
Symbol VCC5
Power voltage Analog power voltage Standard analog voltage Operating temperature
VCC3 AVCC AVRH TA
WARNING: The recommended operating conditions are required in order to ensure the normal operation of the semiconductor device. All of the device's electrical characteristics are warranted when the device is operated within these ranges. Always use semiconductor devices within their recommended operating condition ranges. Operation outside these ranges may adversely affect reliability and could result in device failure. No warranty is made with respect to uses, operating conditions, or combinations not represented on the data sheet. Users considering application outside the listed conditions are advised to contact their FUJITSU representatives beforehand.
63
MB91110 Series
3. DC Characteristics
Sym bol VIH
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Conditions VCC5 = 4.5 V IOH = -4.0 mA VCC5 = 4.5 V IOL = 4.0 mA VCC5 = 5.5 V 0.45 V < VI < VCC5 VCC5 = 5.5 V VI = 0.45 V fC = 12.5 MHz VCC5 = 5.5 V VCC3 = 3.465 V fC = 12.5 MHz VCC5 = 5.5 V VCC3 = 3.465 V TA = 25 C VCC5 = 5.5 V VCC3 = 3.465 V Value Min. 0.65 x VCC3 0.8 x VCC3 VSS - 0.3 VSS - 0.3 VCC5 - 0.5 Typ. Max. VCC5 + 0.3 VCC5 + 0.3 0.25 x VCC3 0.2 x VCC3 0.4 Unit V V V V V V Hysteresis input Hysteresis input Remarks
Parameter
Pin name Input excluding following
"H" level input voltage
VIHS Refer to * VIL Input excluding following
"L" level input voltage "H" level output voltage "L" level output voltage Input leak current (Hi-Z output leak current) Pull-up resistance value
VILS Refer to * VOH VOL
ILI
-5
+5
A
RPULL
RST VCC5
25
50 50 100 20 50 10 200 10
200 70 150 30 70 20 900
k mA mA mA mA A A pF (4 times) in case of 50 MHz operation In case of sleeping In case of stopping
ICC
VCC3 VCC5
Power current
ICCS
VCC3 VCC5
ICCH
VCC3 Other than VCC, AVCC, AVSS and VSS
Input capacity
CIN
* : Hysteresis input pins : RST, HST, NMI, PE0/ATG, PE1/TRG0, 3, PE2/TRG1, 4, PE3/TRG2, 5, PF0/INT0 to PF7/INT7, PG0/DREQ0, PG3/DREQ1, PH0/DREQ2, PH3/SI, PH5/SCK, PH6/TI0, PI0/TI1, BGRNT/P81, WR1/P85, CS1/PA0 to CLK/PA6, RAS0/PB0 to DW1/PB7
64
MB91110 Series
4. AC Characteristics
Measurement Conditions The following conditions are applied to items without particular specifications. * Alternating current standard measurement condition VCC5 : 5.0 V 10%
Input Output VIH VIL VOH VOL
* Load condition
Output pin C = 50 pF
VCC5
0V
VIH VIL
2.4 V 0.8 V
VOH VOL
2.4 V 0.8 V
65
MB91110 Series
(1) Clock Timing
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol fC tC f fC fC tC PWH PWL PWH Pin Conditions Name X0 X1 X0 X1 X0 X1 X0 X1 X0 X1 X0 X1 X0 X0 X1 Value Min. 10.0 80 10 10 40 10 25 0.625*2 0.625* 0.625* 20 40*3 40
2 2
Parameter Clock frequency (1) Clock cycle time Frequency fluctuation rate*1 (when locked) Clock frequency (2) Clock frequency (3) Clock cycle time
Max. 12.5 100 5 25 25 100 8 50 25* 25 1600*2 1600*2 1600*
2 3
Unit MHz ns % MHz MHz ns ns ns ns
Remarks
Self oscillation 12.5 MHz Internal 50 MHz operation (via PLL, 4 times) Self oscillation (1/2 cycle input) External clock (1/2 cycle input)
Input clock pulse width
Clock is input to X0/X1 Clock is input to X0 only (tCR + tCF) CPU system
Input clock rising/falling time Internal operation clock frequency
tCR tCF fCP fCPB fCPP tCP
MHz Bus system Peripheral system CPU system ns Bus system Peripheral system
Internal operation clock cycle time
tCPB tCPP
*1 : Frequency fluctuation rate indicates the maximum fluctuation ratio from the setting central frequency during locking in case of doubling.
+
f =
fO
x100 (%)
Central frequency fO -
*2 : This is the value when 10 MHz, which is the minimum value of the clock frequency, is input to X0 and 1/2 cycle of the oscillation circuit and gearing of 1/8 are used. *3 : This is the value when doubler is used with a 50 MHz CPU.
66
MB91110 Series
* Clock timing standard measurement conditions
tC 0.8 VCC5 0.2 VCC5 PWH tCF PWL tCR
* Guaranteed operating area
5.5 VCC5 Power voltage 4.5
Guaranteed operating area (TA = 0 +70 C) fCPP is the shaded area.
3.465 VCC3 3.135 fCP / fCPP (MHz)
0 0.625
25 Internal clock
50
67
MB91110 Series
* External/internal clock settable area
fCP / fCPP (MHz) fCP 50 CPU 40
Internal clock settable limit
PLL system
(12.5 MHz / 4 times)
fCPP 25 20 12.5 5 0 0 10 12.5 25 fC (MHz)
Peripheral
1/2 cycle system
External clock
Original oscillation input clock
self oscillation Notes: * 10.0 MHz to 12.5 MHz must be input for external clock input when PLL is used. * PLL oscillation stabilization time should be larger than 100 s. * Internal clock gear should be set within the above range.
68
MB91110 Series
(2) Clock Output Timing
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol Pin Name Conditions Value Min. tCP Max. ns ns ns Unit *1 In case of using doubler *2 *3 Remarks
Parameter
Cycle time CLK CLK CLK CLK
tCYC tCHCL tCLCH
CLK CLK CLK
2 x tCP
1 / 2 x tCYC - 10 1 / 2 x tCYC + 10 1 / 2 x tCYC - 10 1 / 2 x tCYC + 10
tCYC tCHCL tCLCH VOH VOL
CLK
VOH
*1 : tCYC is frequency of 1 clock cycle including the gear cycle. *2 : This standard value is in the case where the gear cycle is 1. If the gear cycle is set to 1/2, 1/4 or 1/8, calculation should be made using the following formula and replacing n with 1/2, 1/4 or 1/8. * Minimum : (1 - n / 2) x tCYC - 10 * Maximum : (1 - n / 2) x tCYC + 10 Gear cycle of 1 should be taken when using a doubler. *3 : This standard value is in the case where the gear cycle is 1. If the gear cycle is set to 1/2, 1/4 or 1/8, calculation should be made using the following formula and replacing n with 1/2, 1/4 or 1/8. * Minimum : n / 2 x tCYC - 10 * Maximum : n / 2 x tCYC + 10 Gear cycle of 1 should be taken when using a doubler.
69
MB91110 Series
The relationship between the CLK pin set using CHC/CCK1/CCK0 bit of the "Gear Control Register" (GCR) and original oscillation input is as follows. However, original oscillation input indicates "X0 input clock" in this figure. (When using doubler) * PLL system (CHC bit of GCR : "0"setting)
Original oscillation input
tCYC
(a) Gear x 1 CLK pin
CCK1/0 : "00" SLCT1, 0 : 01
or
CCK1, 0 : 01 SLCT1, 0 : 1X
* 2 cycles system (CHC bit of GCR : "1"setting)
Original oscillation input
tCYC
(a) Gear x 1 CLK pin CCK1/0: "00"
tCYC
(b) Gear x 1/2 CLK pins CCK1/0: "01"
tCYC
(c) Gear x 1/4 CLK pins CCK1/0: "10"
tCYC
(d) Gear x 1/8 CLK pins CCK1/0: "11"
70
MB91110 Series
(3) Reset / Hardware Standby Input (VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Parameter Reset input time Hardware standby input time Symbol tRSTL tHSTL Pin Name RST HST Conditions Value Min. tCP x 5 tCP x 5 Max. Unit ns ns Remarks
tRSTL, tHSTL
RST HST
0.2 VCC5
71
MB91110 Series
(4) Power On Reset
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol Pin Name Conditions VCC5 = 5 V Value Min. Max. 30 18 ms Unit Remarks VCC is less than 0.2 V before power is turned on. Repeated operation
Parameter
Power startup time
tR
VCC5
VCC3 = 3.3 V
Power cut time Waiting time for oscillation stabilization
tOFF tOSC
VCC3
1 2 x tC x 221 + 100 s
ms ns
tR 0.9 x VCC3 0.2 VCC3
VCC3
tOFF * Other Points to Note (1) Sudden changes in the power supply voltage may cause a power-on reset .To change the power supply voltage while the device is in operation, it is recommended to rise the voltage smoothly to suppress fluctuations as shown below.
VCC3
It is recommended to keep the rising speed of the supply voltage at 50 mV/ms or slower.
VSS
(2) When power is turned on, it must be started while the RST pin is set to "L" level, after which wait for tRSTL and change the level to "H" once the Vcc power level is reached.
VCC5 VCC3
VCC3 / AVCC / AVRH should be supplied after supplying VCC5. AVCC / AVRH should be supplied at the same time after supplying VCC3.
tOSC (Waiting time for oscillation stabilization)
RST
tRSTL
72
MB91110 Series
(5) Normal Bus Access Read/Write Operation (VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Parameter CS0 to CS5 delay time CS0 to CS5 delay time Address delay time Data delay time (write) RD delay time RD delay time WR0 to WR1 delay time WR0 to WR1 delay time Valid address Valid data input time RD Valid data input time Data setup RD time RD Data holding time Symbol tCHCSL tCHCSH tCHAV tCHDV tCLRL tCLRH tCLWL tCLWH tAVDV tRLDV Read tDSRH tRHDX RD D31 to D16 Pin Name CLK CS0 to CS5 CLK A23 to A00 CLK D31 to D16 CLK RD CLK WR0 to WR1 A23 to A00 D31 to D16 Conditions Value Min. 25 0 Max. 15 15 15 15 10 10 10 10 3 / 2 x tCYC - 40 tCYC - 25 Unit Remarks ns ns ns ns ns ns ns ns ns ns ns ns *1 *2 *1
*1 : Time (tCYC x number of cycles extended) needs to be added to this standard if the bus is extended by automatic waiting insertion and RDY input. *2 : Values of this standard are in case of gear cycle x 1. If the gear cycle is set to 1/2, 1/4 or 1/8, calculations should be made using the following formula and replacing n with 1/2, 1/4 or 1/8. * Calculation formula : (2 - n / 2) x tCYC - 40
73
MB91110 Series
tCYC BA1 BA2 2.4 V 0.8 V 0.8 V 2.4 V 0.8 V
CLK
2.4 V
tCHCSL
tCHCSH 2.4 V
CS0 CS5
0.8 V
tCHAV
A23 A00
2.4 V 0.8 V
2.4 V 0.8 V
tCLRL
tCLRH 2.4 V
RD
0.8 V tRLDV
tRHDX tAVDV
D31 D16
2.4 V 0.8 V
Read
2.4 V 0.8 V tDSRH
WR0 WR1
tCLWL 0.8 V 2.4 V tCLWH tCHDV
D31 D16
2.4 V 0.8 V
Write
2.4 V 0.8 V
74
MB91110 Series
(6) Ready Input Timing
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol tRDYS tRDYH Pin Name Conditions RDY CLK RDY CLK Value Min. 20 0 ns Max. Unit ns Remarks
Parameter RDY setup time CLK CLK RDY holding time
tCYC
CLK
2.4 V
0.8 V
2.4 V tRDYH
0.8 V tRDYH
tRDYS
tRDYS 2.4 V
RDY (If "wait" is executed)
0.8 V
RDY (If "wait" is not executed)
2.4 V
0.8 V
75
MB91110 Series
(7) Holding timing
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol tCHBGL tCHBGH tXHAL BGRNT tHAHV tCYC - 10 tCYC + 10 ns Pin Name CLK BGRNT Conditions Value Min. tCYC - 10 Max. 10 10 tCYC + 10 Unit ns ns ns Remarks
Parameter BGRNT delay time BGRNT delay time Pin floating BGRNT time BGRNT Pin valid time
Note : It takes at least one cycle from loading the BRQ to when BGRNT is changed.
tCYC
CLK
2.4 V
2.4 V
2.4 V
2.4 V
BRQ
tCHBGL
tCHBGH 2.4 V
BGRNT
tXHAL
0.8 V
tHAHV
Each pin
High impedance
76
MB91110 Series
(8) Read/Write Cycle of the Normal DRAM Mode (VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Parameter RAS delay time RAS delay time CAS delay time CAS delay time ROW address delay time COLUMN address delay time DW delay time DW delay time Output data delay time RAS valid data input time CAS valid data input time CAS data holding time Symbol tCLRAH tCHRAL tCLCASL tCLCASH tCHRAV tCHCAV tCHDWL tCHDWH tCHDV1 tRLDV tCLDV tCADH Pin Name CLK RAS CLK CAS CLK A23 to A00 CLK DW CLK D31 to D16 RAS D31 to D16 CAS D31 to D16 Conditions Value Min. 0 Max. 10 10 10 10 15 15 15 15 15 5/2x tCYC - 20 tCYC - 17 Unit Remarks ns ns ns ns ns ns ns ns ns ns ns ns *1 *2 *1
*1 : If either the Q1 or A4 cycle is extended for one cycle, the tCYC time needs to be added to this standard. *2 : Values of this standard are in case of gear cycle x 1. If the gear cycle is set to 1/2, 1/4 or 1/8, calculation should be made using the following formula and replacing n with 1/2, 1/4 or 1/8. * Calculation formula : (3 - n / 2) x tCYC - 20
77
MB91110 Series
tCYC Q1 2.4 V 0.8 V Q2 Q3 2.4 V 0.8 V 0.8 V Q4 Q5 2.4 V
CLK
RAS
tCLRAH
2.4 V
0.8 V tCHRAL tCLCASL tCLCASH 2.4 V
CAS
0.8 V
tCHRAV
tCHCAV 2.4 V 0.8 V 2.4 V 2.4 V COLUMN address 0.8 V 0.8 V tRLDV tCLDV tCADH Read 2.4 V 0.8 V
A23 A00
2.4 V 0.8 V
ROW address
D31 D16
2.4 V 0.8 V
DW
2.4 V 0.8 V tCHDWL tCHDWH
D31 D16
2.4 V 0.8 V tCHDV1
Write
2.4 V 0.8 V
78
MB91110 Series
(9) High Speed Page Read/Write Cycle of the Normal DRAM Mode (VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Parameter RAS delay time CAS delay time CAS delay time COLUMN address delay time DW delay time Output data delay time CAS valid data input time CAS data holding time Symbol tCLRAH tCLCASL tCLCASH tCHCAV tCHDWH tCHDV1 tCLDV tCADH Pin Name CLK, RAS CLK CAS CLK A23 to A00 CLK, DW CLK D31 to D16 CAS D31 to D16 Conditions Value Min. 0 Max. 10 10 10 15 15 15 tCYC - 17 Unit ns ns ns ns ns ns ns ns * Remarks
* : When Q4 cycle is extended for 1 cycle, add tCYC time to this rating.
79
MB91110 Series
Q5
Q4 2.4 V 0.8 V
Q5 0.8 V
Q4
Q5 2.4 V 0.8 V
CLK
tCLRAH
RAS
2.4 V
tCLCASL
tCLCASH 2.4 V
CAS
0.8 V
tCHCAV
A23 A00
COLUMN address
2.4 V 0.8 V
COLUMN address
2.4 V 0.8 V
COLUMN address
tCLDV
tCADH 2.4 V 0.8 V
D31 D16
Read
2.4 V 0.8 V
Read
Read
tCHDWH
DW
2.4 V
tCHDV1
D31 D16
2.4 V 0.8 V
Write
2.4 V 0.8 V
2.4 V 0.8 V
Write
80
MB91110 Series
(10) Single DRAM Timing
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol tCLRAH2 tCHRAL2 tCHCASL2 tCHCASH2 tCHRAV2 tCHCAV2 tCHDWL2 tCHDWH2 tCHDV2 tCLDV2 tCADH2 Pin Name CLK RAS CLK CAS CLK A23 to A00 CLK DW CLK D31 to D16 CAS D31 to D16 Conditions Value Min. 0 Max. 10 10 n / 2 x tCYC +8 10 15 15 15 15 15 (1 - n / 2) x tCYC - 17 Unit ns ns ns ns ns ns ns ns ns ns ns Remarks
Parameter RAS delay time RAS delay time CAS delay time CAS delay time ROW address delay time COLUMN address delay time DW delay time DW delay time Output data delay time CAS valid data input time CAS data holding time
81
MB91110 Series
tCYC Q1 Q2 2.4 V 2.4 V Q3 2.4 V 2.4 V
*1
Q4S 2.4 V Q4S Q4S 2.4 V
CLK
0.8 V
RAS
2.4 V tCLRAH2
0.8 V tCHRAL2 tCHCASL2
tCHCASH2
CAS
2.4 V 0.8 V
2.4 V
2.4 V
A23 A00
2.4 V 0.8 V
ROW address
2.4 V 0.8 V
COLUMN-0 0.8 V tCHCAV2
COLUMN-1
COLUMN-2 tCADH2
tCHRAV2
tCLDV2
D31 D16 (Read)
Read-0
2.4 V 0.8 V Read-1
2.4 V 0.8 V
Read-2
DW (Write)
0.8 V tCHDWL2 tCHDWH2
2.4 V
*2
D31 D16 (Write)
2.4 V 0.8 V tCHDV2
2.4 V 2.4 V 0.8 V
2.4 V
Write-0
2.4 V 0.8 V tCHDV2
Write-1
0.8 V 0.8 V
Write-2
*1 : Q4S cycle indicates the Q4SR (read) or Q4SW (write) cycle of the Single DRAM cycle. *2 : indicates when a bus cycle is started from the high-speed page mode.
82
MB91110 Series
(11) Hyper DRAM Timing
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol tCLRAH3 tCHRAL3 tCHCASL3 tCHCASH3 tCHRAV3 tCHCAV3 tCHRL3 tCHRH3 tCLRL3 tCHDWL3 tCHDWH3 tCHDV3 tCLDV3 tCADH3 CLK DW CLK D31 to D16 CAS D31 to D16 CLK RD Pin Name CLK RAS CLK CAS CLK A23 to A00 Conditions Value Min. 0 Max. 10 10 n / 2 x tCYC +8 10 15 15 15 15 15 15 15 15 tCYC - 20 Unit Remarks ns ns ns ns ns ns ns ns ns ns ns ns ns ns
Parameter RAS delay time RAS delay time CAS delay time CAS delay time ROW address delay time COLUMN address delay time RD delay time RD delay time RD delay time DW delay time DW delay time Output data delay time CAS valid data input time CAS data holding time
83
MB91110 Series
tCYC Q1 Q2 2.4 V Q3 2.4 V 2.4 V
*1
Q4H 0.8 V 2.4 V Q4H Q4H 2.4 V
CLK
0.8 V
RAS
2.4 V tCLRAH3
0.8 V tCHRAL3 tCHCASL3
tCHCASH3
CAS
0.8 V
2.4 V 0.8 V
0.8 V
2.4 V
A23 A00
2.4 V ROW address 2.4 V 0.8 V 0.8 V tCHRAV3 tCHCAV3
COLUMN-0 0.8 V
COLUMN-1
COLUMN-2
*2
RD (Read)
0.8 V tCHRL3 0.8 V tCLRL3 tCLDV3 2.4 V Read-0 0.8 V tCHRH3
2.4 V
tCADV3
D31 D16 (Read)
Read-1
2.4 V 0.8 V
DW (Write)
0.8 V tCHDWL3 tCHDWH3
2.4 V
*2
D31 D16 (Write)
2.4 V 0.8 V tCHDV3
2.4 V 2.4 V 0.8 V
2.4 V
Write-0
2.4 V 0.8 V tCHDV3
Write-1
0.8 V 0.8 V
Write-2
*1 : Q4H cycle indicates the Q4HR (read) or Q4HW (write) cycle of the Hyper DRAM cycle. *2 : indicates when a bus cycle is started from the high-speed page mode.
84
MB91110 Series
(12) CBR Refresh
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol tCLRAH tCHRAL tCLCASL tCLCASH Pin Name CLK RAS CLK CAS Conditions Value Min. Max. 10 10 10 10 Unit ns ns ns ns Remarks
Parameter RAS delay time RAS delay time CAS delay time CAS delay time
tCYC R1
R2 2.4 V 0.8 V
R3
R4 0.8 V
CLK
2.4 V 0.8 V
RAS
2.4 V tCLRAH
0.8 V tCHRAL
CAS
0.8 V tCLCASL
2.4 V tCLCASH
DW
85
MB91110 Series
(13) Self Refresh
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol tCLRAH tCHRAL tCLCASL tCLCASH Pin Name CLK RAS CLK CAS Conditions Value Min. Max. 10 10 10 10 Unit ns ns ns ns Remarks
Parameter RAS delay time RAS delay time CAS delay time CAS delay time
tCYC SR1
SR2 2.4 V 0.8 V 2.4 V
SR3
SR3 0.8 V tCLRAH 2.4 V
CLK
2.4 V
tCHRAL
RAS
0.8 V
CAS
0.8 V tCHCASL tCLCASH
2.4 V
86
MB91110 Series
(14) UART Timing
(VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Symbol Pin Name tSCYC tSLOV tIVSH tSHIX tSHSL tSLSH tSLOV tIVSH tSHIX External shift clock mode Internal shift clock mode Conditions Value Min. 8 tCYCP -80 100 60 4 tCYCP 4 tCYCP 60 60 Max. 80 150 Unit ns ns ns ns ns ns ns ns ns Remarks
Parameter Serial clock cycle time SCLK SOUT Delay time Valid SIN SCLK SCLK Valid SIN holding lock Serial clock "H" pulse width Serial clock "L" pulse width SCLK SOUT Delay time Valid SIN SCLK SCLK Valid SIN holding lock
Notes : * This is the AC standard in the case of CLK synchronous mode. * tCYCP is the cycle time of the peripheral system clock.
87
MB91110 Series
* Internal shift clock mode
tSCYC
SCLK
VOL tSLOV VOH
VOH VOL
SOUT
VOL tIVSH VIH VIL tSHIX VIH VIL
SIN
* External shift clock mode
tSLSH tSHSL VIH VIL tSLOV VOH VIL VIH
SCLK
SOUT
VOL tIVSH VIH VIL tSHIX VIH VIL
SIN
88
MB91110 Series
(15) Trigger System Input Timing (VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Parameter A/D initiation trigger input time PPG initiation trigger input time tTRG SymPin Name bol ATG TRG0 to TRG5 5 tCYCP Conditions Value Min. Max. Unit ns ns Remarks
Note : tCYCP is the cycle time of the peripheral system clock.
tTRG
ATG TRG0 TRG5
VIL VIL
89
MB91110 Series
(16) DMA Controller Timing (VCC5 = 5 V 10%, VCC3 = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Parameter DREQ input pulse width DACK delay time (Normal bus) (Normal DRAM) EOP delay time (Normal bus) (Normal DRAM) DACK delay time (Single DRAM) (Hyper DRAM) EOP delay time (Single DRAM) (Hyper DRAM) Symbol Pin Name Conditions Value Min. 2 tCYC Max. 6 6 6 6 n / 2 x tCYC 6 n / 2 x tCYC 6 Unit ns ns ns ns ns ns ns ns ns Remarks
tDRWH DREQ0 to DREQ2 tCLDL tCLDH tCLEL tCLEH tCHDL tCHDH tCHEL tCHEH CLK DACK0 to DACK2 CLK DEOP0 to DEOP2 CLK DACK0 to DACK2 CLK DEOP0 to DEOP2
tCYC
CLK
2.4 V 0.8 V
2.4 V 0.8 V
DACK0 DACK2 DEOP0 DEOP2
tCLDL tCLEL 0.8 V
tCLDH tCLEH 2.4 V
DACK0 DACK2 DEOP0 DEOP2 (Single DRAM) (Hyper DRAM)
tCHDL tCHEL
0.8 V
2.4 V
tCHDH
tDRWH
DREQ0 DREQ2
2.4 V
2.4 V
90
MB91110 Series
5. A/D Converter Electrical Characteristics
Symbol VOT VFST IAIN VAIN IA IAH IR IRH
(VCC5 = 5 V 10%, VCC3 = AVCC = AVRH = 3.3 V 5%, VSS = AVSS = AVRL = 0 V, TA = 0 C to +70 C) Pin Name AN0 to AN7 AN0 to AN7 AN0 to AN7 AN0 to AN7 AVRH AVCC AVRH AN0 to AN7 Value Min. -1.5 AVRH - 4.5 5.6* AVSS AVSS
1
Parameter Resolution Conversion error Linearity error Differential linearity error Zero transition error Full-scale transition error Conversion time Analog port input current Analog input voltage Standard voltage Power supply current Standard voltage current supplied Tolerance between channels
Typ. 10 +0.5 AVRH - 1.5 0.1 4 110
Max. 10 3.0 2.5 1.9 +2.5 AVRH + 0.5 10 AVRH AVCC 5*2 5* 4
2
Unit BIT LSB LSB LSB LSB LSB s A V V mA A A A LSB
*1 : In case of VCC3 = AVCC = 3.3 V 5%, machine clock 25 MHz *2 : This is the current in the case that the A/D converter is not activated and the CPU is stopped (in case of VCC3 = AVCC = AVRH = 3.465 V) Notes : * As the AVRH becomes smaller, the tolerance becomes relatively larger. * Output impedance of external circuits other than analog input must be used under the following condition. Output impedance of external circuits < 7 k If the output impedance of the external circuits is too high, the sampling time for the analog voltage may be insufficient.
91
MB91110 Series
Analog input
Sample holding circuit C0 Comparator RON1 RON2 RON3 RON4 C1
RON1 : 5 k RON2 : 620 RON3 : 620 RON4 : 620 C0 : 2 pF C1 : 2 pF
Note : Figures described above should be considered as standard.
92
MB91110 Series
Definition of A/D Converter Terms * Resolution Analog changes that can be identified by A/D converter * Linearity error Difference between the straight line linking the zero transition point (00 0000 0000 00 0000 0001) to the full-scale transition point (11 1111 1110 11 1111 1111) and actual conversion characteristics. * Differential linearity error Difference compared to the ideal input voltage value required to change the output code 1LSB
[Linearity error]
3FF 3FE {1 LSB x (N - 1) + VOT} 3FD VFST (Actual measured value) 004 003 002 Ideal characteristics 001 VOT (Actual measured value) AVRL Analog input AVRH N-2 VNT (Actual measured value) Actual conversion characteristics N Actual conversion characteristics N+1
[Differential linearity error]
Ideal characteristics
Actual conversion characteristics
Digital output
Digital output
N-1
V(N + 1)T (Actual measured value) VNT (Actual measured value) Actual conversion characteristics AVRH
AVRL
Analog input
Linearity error of digital output N Differential linearity error of digital output N 1 LSB = VFST - VOT 1022 [V] [V]
= =
VNT - {1 LSB x (N - 1) + VOT} 1 LSB V (N + 1) T - VNT 1 LSB -1
[LSB] [LSB]
1 LSB (Ideal value) =
AVRH - AVRL 1024
VOT : Voltage with digital output transferred from (000) H to (001) H VFST : Voltage with digital output transferred from (3FE) H to (3FF) H VNT : Voltage with digital output transferred from (N - 1) H to N
93
MB91110 Series
* Total error This indicates the difference between the actual and theoretical values and includes zero transition, full-scale transition and linearity error.
[Total error]
3FF 1.5 LSB 3FE 3FD {1 LSB x (N - 1) + 0.5 LSB} Digital output Actual conversion characteristics
004 003 002 001 0.5 LSB AVRL Analog input AVRH VNT (Actual measured value) Actual conversion characteristics Ideal characteristics
Total tolerance of digital output N =
VNT - {1 LSB x (N - 1) + 0.5 LSB} [LSB] 1 LSB VOT (Ideal value) = AVRL + 0.5 LSB [V]
VFST (Ideal value) = AVRH - 1.5 LSB [V] VNT : Voltage with digital output transferred from (N - 1) H to N
94
MB91110 Series
s INSTRUCTIONS (165 INSTRUCTIONS)
1. How to Read Instruction Set Summary
Mnemonic ADD * ADD Rj, Ri #s5, Ri , , (2) Type A C , , (3) OP A6 A4 , , (4) CYC 1 1 , , (5) NZVC CCCC CCCC , , (6) Operation Ri + Rj Ri Ri + s5 Ri , , (7) Remarks
(1)
(1) Names of instructions Instructions marked with * are not included in CPU specifications. These are extended instruction codes added/extended at assembly language levels. (2) Addressing modes specified as operands are listed in symbols. Refer to "2. Addressing mode symbols" for further information. (3) Instruction types (4) Hexa-decimal expressions of instructions (5) The number of machine cycles needed for execution a: Memory access cycle and it has possibility of delay by Ready function. b: Memory access cycle and it has possibility of delay by Ready function. If an object register in a LD operation is referenced by an immediately following instruction, the interlock function is activated and number of cycles needed for execution increases. c: If an immediately following instruction operates to an object of R15, SSP or USP in read/write mode or if the instruction belongs to instruction format A group, the interlock function is activated and number of cycles needed for execution increases by 1 to make the total number of 2 cycles needed. d: If an immediately following instruction refers to MDH/MDL, the interlock function is activated and number of cycles needed for execution increases by 1 to make the total number of 2 cycles needed. For a, b, c and d, minimum execution cycle is 1. (6) Change in flag sign * Flag change C : Change - : No change 0 : Clear 1 : Set * Flag meanings N : Negative flag Z : Zero flag V : Over flag C : Carry flag (7) Operation carried out by instruction
95
MB91110 Series
2. Addressing Mode Symbols
: Register direct (R0 to R15, AC, FP SP) , : Register direct (R0 to R15, AC, FP SP) , : Register direct (R13, AC) : Register direct (Program status register) : Register direct (TBR, RP SSP USP MDH, MDL) , , , : Register direct (CR0 to CR15) : Register direct (CR0 to CR15) : Unsigned 8-bit immediate (-128 to 255) Note: -128 to -1 are interpreted as 128 to 255 #i20 : Unsigned 20-bit immediate (-0X80000 to 0XFFFFF) Note: -0X7FFFF to -1 are interpreted as 0X7FFFF to 0XFFFFF #i32 : Unsigned 32-bit immediate (-0X80000000 to 0XFFFFFFFF) Note: -0X80000000 to -1 are interpreted as 0X80000000 to 0XFFFFFFFF #s5 : Signed 5-bit immediate (-16 to 15) #s10 : Signed 10-bit immediate (-512 to 508, multiple of 4 only) #u4 : Unsigned 4-bit immediate (0 to 15) #u5 : Unsigned 5-bit immediate (0 to 31) #u8 : Unsigned 8-bit immediate (0 to 255) #u10 : Unsigned 10-bit immediate (0 to 1020, multiple of 4 only) @dir8 : Unsigned 8-bit direct address (0 to 0XFF) @dir9 : Unsigned 9-bit direct address (0 to 0X1FE, multiple of 2 only) @dir10 : Unsigned 10-bit direct address (0 to 0X3FC, multiple of 4 only) label9 : Signed 9-bit branch address (-0X100 to 0XFC, multiple of 2 only) label12 : Signed 12-bit branch address (-0X800 to 0X7FC, multiple of 2 only) label20 : Signed 20-bit branch address (-0X80000 to 0X7FFFF) label32 : Signed 32-bit branch address (-0X80000000 to 0X7FFFFFFF) @Ri : Register indirect (R0 to R15, AC, FP SP) , @Rj : Register indirect (R0 to R15, AC, FP SP) , @(R13, Rj) : Register relative indirect (Rj: R0 to R15, AC, FP SP) , @(R14, disp10) : Register relative indirect (disp10: -0X200 to 0X1FC, multiple of 4 only) @(R14, disp9) : Register relative indirect (disp9: -0X100 to 0XFE, multiple of 2 only) @(R14, disp8) : Register relative indirect (disp8: -0X80 to 0X7F) @(R15, udisp6) : Register relative (udisp6: 0 to 60, multiple of 4 only) @Ri+ : Register indirect with post-increment (R0 to R15, AC, FP SP) , @R13+ : Register indirect with post-increment (R13, AC) @SP+ : Stack pop @-SP : Stack push (reglist) : Register list Ri Rj R13 Ps Rs CRi CRj #i8
96
MB91110 Series
3. Instruction Types
MSB 16 bits OP 8 Rj 4 Ri 4 LSB
Type A
Type B
OP 4
i8/o8 8
Ri 4
Type C
OP 8
u4/m4 4
Ri 4
ADD, ADDN, CMP, LSL, LSR and ASR instructions only Type *C' OP 7 s5/u5 5 Ri 4
Type D
OP 8
u8/rel8/dir/reglist 8
Type E
OP 8
SUB-OP 4
Ri 4
Type F
OP 5
rel11 11
97
MB91110 Series
4. Detailed Description of Instructions
* Add/subtract operation instructions (10 instructions) Mnemonic ADD * ADD ADD ADD2 ADDC ADDN * ADDN ADDN ADDN2 SUB SUBC SUBN Rj, Ri #s5, Ri #i4, Ri #i4, Ri Rj, Ri Rj, Ri #s5, Ri #i4, Ri #i4, Ri Rj, Ri Rj, Ri Rj, Ri
Type
OP A6 A4 A4 A5 A7 A2 A0 A0 A1 AC AD AE
Cycle N Z V C 1 1 1 1 1 1 1 1 1 1 1 1
Operation
Remarks MSB is interpreted as a sign in assembly language Zero-extension Sign-extension Add operation with sign MSB is interpreted as a sign in assembly language Zero-extension Sign-extension
A C' C C A A C' C C A A A
C C C C Ri + Rj Ri C C C C Ri + s5 Ri C C C C Ri + extu (i4) Ri C C C C Ri + extu (i4) Ri C C C C Ri + Rj + c Ri - - - - Ri + Rj Ri - - - - Ri + s5 Ri - - - - Ri + extu (i4) Ri - - - - Ri + extu (i4) Ri C C C C Ri - Rj Ri C C C C Ri - Rj - c Ri - - - - Ri - Rj Ri
Subtract operation with carry
* Compare operation instructions (3 instructions) Mnemonic CMP * CMP CMP CMP2 Rj, Ri #s5, Ri #i4, Ri #i4, Ri
Type
OP AA A8 A8 A9
Cycle N Z V C 1 1 1 1
Operation
Remarks MSB is interpreted as a sign in assembly language Zero-extension Sign-extension
A C' C C
C C C C Ri - Rj C C C C Ri - s5 C C C C Ri + extu (i4) C C C C Ri + extu (i4)
* Logical operation instructions (12 instructions) Mnemonic AND AND ANDH ANDB OR OR ORH ORB EOR EOR EORH EORB Rj, Ri Rj, @Ri Rj, @Ri Rj, @Ri Rj, Ri Rj, @Ri Rj, @Ri Rj, @Ri Rj, Ri Rj, @Ri Rj, @Ri Rj, @Ri
Type
OP 82 84 85 86 92 94 95 96 9A 9C 9D 9E
Cycle N Z V C 1 1 + 2a 1 + 2a 1 + 2a 1 1 + 2a 1 + 2a 1 + 2a 1 1 + 2a 1 + 2a 1 + 2a CC CC CC CC CC CC CC CC CC CC CC CC - - - - - - - - - - - - - - - - - - - - - - - - Ri & (Ri) & (Ri) & (Ri) & Ri (Ri) (Ri) (Ri) | | | |
Operation = Rj = Rj = Rj = Rj = Rj = Rj = Rj = Rj = Rj = Rj = Rj = Rj
Remarks Word Word Half word Byte Word Word Half word Byte Word Word Half word Byte
A A A A A A A A A A A A
Ri ^ (Ri) ^ (Ri) ^ (Ri) ^
98
MB91110 Series
* Bit manipulation arithmetic instructions (8 instructions) Mnemonic BANDL BANDH * BAND BORL BORH * BOR BEORL BEORH * BEOR BTSTL BTSTH #u4, @Ri (u4: 0 to 0FH) #u4, @Ri (u4: 0 to 0FH) #u8, @Ri #u4, @Ri (u4: 0 to 0FH) #u4, @Ri (u4: 0 to 0FH) #u8, @Ri #u4, @Ri (u4: 0 to 0FH) #u4, @Ri (u4: 0 to 0FH) #u8, @Ri #u4, @Ri (u4: 0 to 0FH) #u4, @Ri (u4: 0 to 0FH)
Type
OP 80 81
Cycle N Z V C
Operation
Remarks Manipulate lower 4 bits Manipulate upper 4 bits
C C *1 C C *2 C C *3 C C
1 + 2a - - - - (Ri) & = (F0H + u4) 1 + 2a - - - - (Ri) & = ((u4<<4) + 0FH) - - - - - (Ri) & = u8
90 91
1 + 2a - - - - (Ri) | = u4 1 + 2a - - - - (Ri) | = (u4<<4) - - - - - (Ri) | = u8
Manipulate lower 4 bits Manipulate upper 4 bits
98 99
1 + 2a - - - - (Ri) ^ = u4 1 + 2a - - - - (Ri) ^ = (u4<<4) - - - - - (Ri) ^ = u8 0 C - - (Ri) & u4 C C - - (Ri) & (u4<<4)
Manipulate lower 4 bits Manipulate upper 4 bits
88 89
2+a 2+a
Test lower 4 bits Test upper 4 bits
*1: Assembler generates BANDL if result of logical operation "u8&0x0F" leaves an active (set) bit and generates BANDH if "u8&0xF0" leaves an active bit. Depending on the value in the "u8" format, both BANDL and BANDH may be generated. *2: Assembler generates BORL if result of logical operation "u8&0x0F" leaves an active (set) bit and generates BORH if "u8&0xF0" leaves an active bit. *3: Assembler generates BEORL if result of logical operation "u8&0x0F" leaves an active (set) bit and generates BEORH if "u8&0xF0" leaves an active bit. * Add/subtract operation instructions (10 instructions) Mnemonic MUL MULU MULH MULUH DIVOS DIVOU DIV1 DIV2 DIV3 DIV4S * DIV * DIVU Rj, Ri Rj, Ri Rj, Ri Rj, Ri Ri Ri Ri Ri Ri Ri *1 *2
Type
OP AF AB BF BB 97 - 4 97 - 5 97 - 6 97 - 7 9F - 6 9F - 7
Cycle N Z V C 5 5 3 3 1 1 d 1 1 1 - - CCC CCC CC- CC- - - - - - - - - - C C - - C - - - - - - - - - - -
Operation Rj x Ri MDH, MDL Rj x Ri MDH, MDL Rj x Ri MDL Rj x Ri MDL
Remarks 32-bit x 32-bit = 64-bit Unsigned 16-bit x 16-bit = 32-bit Unsigned Step calculation 32-bit/32-bit = 32-bit
A A A A E E E E E E
- - C C - - C MDL/Ri MDL, MDL%Ri MDH - C - C MDL/Ri MDL, MDL%Ri MDH
Unsigned
*1: DIVOS, DIV1 x 32, DIV2, DIV3 and DIV4S are generated. A total instruction code length of 72 bytes. *2: DIVOU and DIV1 x 32 are generated. A total instruction code length of 66 bytes.
99
MB91110 Series
* Shift arithmetic instructions (9 instructions) Mnemonic LSL * LSL LSL LSL2 LSR * LSR LSR LSR2 ASR * ASR ASR ASR2 Rj, Ri #u5, Ri #u4, Ri #u4, Ri Rj, Ri #u5, Ri #u4, Ri #u4, Ri Rj, Ri #u5, Ri #u4, Ri #u4, Ri
Type
OP B6 B4 B4 B5 B2 B0 B0 B1 BA B8 B8 B9
Cycle N Z V C 1 1 1 1 1 1 1 1 1 1 1 1 CC CC CC CC CC CC CC CC CC CC CC CC - - - - - - - - - - - - C C C C C C C C C C C C
Operation Ri<>Rj Ri Ri>>u5 Ri Ri>>u4 Ri Ri>>(u4 + 16) Ri Ri>>Rj Ri Ri>>u5 Ri Ri>>u4 Ri Ri>>(u4 + 16) Ri
Remarks Logical shift
A C' C C A C' C C A C' C C
Logical shift
Logical shift
* Immediate value data transfer instruction (immediate value set/16-bit/32-bit immediate value transfer instruction) (3 instructions) Mnemonic LDI: 32 LDI: 20 LDI: 8 * LDI #i32, Ri #i20, Ri #i8, Ri # {i8 | i20 | i32}, Ri *1
Type
OP 9F - 8 9B C0
Cycle N Z V C 3 2 1
Operation
Remarks Upper 12 bits are zeroextended Upper 24 bits are zeroextended
E C B
- - - - i32 Ri - - - - i20 Ri - - - - i8 Ri {i8 | i20 | i32} Ri
*1: If an immediate value is given in absolute, assembler automatically makes i8, i20 or i32 selection. If an immediate value contains relative value or external reference, assembler selects i32. * Memory load instructions (13 instructions) Mnemonic LD LD LD LD LD LD LD LDUH LDUH LDUH LDUB LDUB LDUB @Rj, Ri @(R13, Rj), Ri @(R14, disp10), Ri @(R15, udisp6), Ri @R15 +, Ri @R15 +, Rs @R15 +, PS @Rj, Ri @(R13, Rj), Ri @(R14, disp9), Ri @Rj, Ri @(R13, Rj), Ri @(R14, disp8), Ri
Type
OP 04 00 20 03 07 - 0 07 - 8 07 - 9 05 01 40 06 02 60
Cycle N Z V C b b b b b b
1+a+b
Operation (Rj) Ri (R13 + Rj) Ri (R14 + disp10) Ri (R15 + udisp6) Ri (R15) Ri, R15 + = 4 (R15) Rs, R15 + = 4
Remarks
A A B C E E E A A B A A B
- - - - - -
- - - - - -
- - - - - -
- - - - - -
C C C C (R15) PS, R15 + = 4 - - - - (Rj) Ri - - - - (R13 + Rj) Ri - - - - (R14 + disp9) Ri - - - - (Rj) Ri - - - - (R13 + Rj) Ri - - - - (R14 + disp8) Ri
Rs: Special-purpose register Zero-extension Zero-extension Zero-extension Zero-extension Zero-extension Zero-extension
b b b b b b
Note: The relations between o8 field of TYPE-B and u4 field of TYPE-C in the instruction format and assembler description from disp8 to disp10 are as follows: disp8 o8 = disp8:Each disp is a code extension. disp9 o8 = disp9>>1:Each disp is a code extension. disp10 o8 = disp10>>2:Each disp is a code extension. udisp6 u4 = udisp6>>2:udisp4 is a 0 extension. 100
MB91110 Series
* Memory store instructions (13 instructions) Mnemonic ST ST ST ST ST ST ST STH STH STH STB STB STB Ri, @Rj Ri, @(R13, Rj) Ri, @(R14, disp10) Ri, @(R15, udisp6) Ri, @-R15 Rs, @-R15 PS, @-R15 Ri, @Rj Ri, @(R13, Rj) Ri, @(R14, disp9) Ri, @Rj Ri, @(R13, Rj) Ri, @(R14, disp8)
Type
OP 14 10 30 13 17 - 0 17 - 8 17 - 9 15 11 50 16 12 70
Cycle N Z V C a a a a a a a a a a a a a - - - - - - - - - - - - - - - - - - - - - - - -
Operation Ri (Rj) Ri (R13 + Rj) Ri (R14 + disp10) Ri (R15 + usidp6) R15 - = 4, Ri (R15) R15 - = 4, Rs (R15) Word Word Word
Remarks
A A B C E E E A A B A A B
- - - - R15 - = 4, PS (R15) - - - - Ri (Rj) - - - - Ri (R13 + Rj) - - - - Ri (R14 + disp9) - - - - Ri (Rj) - - - - Ri (R13 + Rj) - - - - Ri (R14 + disp8)
Rs: Special-purpose register Half word Half word Half word Byte Byte Byte
Note: The relations between o8 field of TYPE-B and u4 field of TYPE-C in the instruction format and assembler description from disp8 to disp10 are as follows: disp8 o8 = disp8:Each disp is a code extension. disp9 o8 = disp9>>1:Each disp is a code extension. disp10 o8 = disp10>>2:Each disp is a code extension. udisp6 u4 = udisp6>>2:udisp4 is a 0 extension. * Transfer instructions between registers/special-purpose registers transfer instructions (5 instructions) Mnemonic MOV MOV MOV MOV MOV Rj, Ri Rs, Ri Ri, Rs PS, Ri Ri, PS
Type
OP 8B B7 B3 17 - 1 07 - 1
Cycle N Z V C 1 1 1 1 c
Operation
Remarks Transfer between general-purpose registers Rs: Special-purpose register Rs: Special-purpose register
A A A E E
- - - - Rj Ri - - - - Rs Ri - - - - Ri Rs - - - - PS Ri C C C C Ri PS
101
MB91110 Series
* Non-delay normal branch instructions (23 instructions) Mnemonic JMP CALL CALL RET INT #u8 @Ri label12 @Ri
Type
OP 97 - 0 D0 97 - 1 97 - 2 1F
Cycle N Z V C 2 2 2 2 3+3a - - - - Ri PC
Operation
Remarks
E F E E D
- - - - PC + 2 RP , PC + 2 + rel11 x 2 PC - - - - PC + 2 RP Ri PC , - - - - RP PC - - - - SSP - = 4, PS (SSP), SSP - = 4, PC + 2 (SSP), 0 I flag, 0 S flag, (TBR + 3FC - u8 x 4) PC Return
INTE
E
9F - 3 3 + 3a - - - - SSP - = 4, PS (SSP), For emulator SSP - = 4, PC + 2 (SSP), 0 S flag, (TBR + 3D8 - u8 x 4) PC 97 - 3 2 + 2a C C C C (R15) PC, R15 - = 4, (R15) PS, R15 - = 4 E1 E0 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF 1 2 2/1 2/1 2/1 2/1 2/1 2/1 2/1 2/1 2/1 2/1 2/1 2/1 2/1 2/1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Non-branch PC + 2 + rel8 x 2 PC PCif Z = = 1 PCif Z = = 0 PCif C = = 1 PCif C = = 0 PCif N = = 1 PCif N = = 0 PCif V = = 1 PCif V = = 0 PCif V xor N = = 1 PCif V xor N = = 0 PCif (V xor N) or Z = = 1 PCif (V xor N) or Z = = 0 PCif C or Z = = 1 PCif C or Z = = 0
RETI BNO BRA BEQ BNE BC BNC BN BP BV BNV BLT BGE BLE BGT BLS BHI label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9
E D D D D D D D D D D D D D D D D
Notes: * "2/1" in cycle sections indicates that 2 cycles are needed for branch and 1 cycle needed for non-branch. * The relations between rel8 field of TYPE-D and rel11 field of TYPE-F in the instruction format and assembler discription label9 and label12 are as follows. label9 rel8 = (label9 - PC - 2)/2 label12 rel11 = (label12 - PC - 2)/2 * RETI must be operated while S flag = 0.
102
MB91110 Series
* Branch instructions with delays (20 instructions) Mnemonic JMP:D CALL:D CALL:D RET:D BNO:D BRA:D BEQ:D BNE:D BC:D BNC:D BN:D BP:D BV:D BNV:D BLT:D BGE:D BLE:D BGT:D BLS:D BHI:D label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 label9 @Ri label12 @Ri
Type
OP 9F - 0 D8 9F - 1 9F - 2 F1 F0 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF
Cycle N Z V C 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Operation
Remarks
E F E E D D D D D D D D D D D D D D D D
- - - - Ri PC - - - - PC + 4 RP , PC + 2 + rel11 x 2 PC - - - - PC + 4 RP Ri PC , - - - - RP PC - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Non-branch PC + 2 + rel8 x 2 PC PCif Z = = 1 PCif Z = = 0 PCif C = = 1 PCif C = = 0 PCif N = = 1 PCif N = = 0 PCif V = = 1 PCif V = = 0 PCif V xor N = = 1 PCif V xor N = = 0 PCif (V xor N) or Z = = 1 PCif (V xor N) or Z = = 0 PCif C or Z = = 1 PCif C or Z = = 0 Return
Notes: * The relations between rel8 field of TYPE-D and rel11 field of TYPE-F in the instruction format and assembler discription label9 and label12 are as follows. label9 rel8 = (label9 - PC - 2)/2 label12 rel11 = (label12 - PC - 2)/2 * Delayed branch operation always executes next instruction (delay slot) before making a branch. * Instructions allowed to be stored in the delay slot must meet one of the following conditions. If the other instruction is stored, this device may operate other operation than defined. The instruction described "1" in the other cycle column than branch instruction. The instruction described "a", "b", "c" or "d" in the cycle column.
103
MB91110 Series
* Direct addressing instructions Mnemonic DMOV DMOV DMOV DMOV DMOV DMOV DMOVH DMOVH DMOVH DMOVH DMOVB DMOVB DMOVB DMOVB @dir10, R13, @dir10, @R13+, @dir10, @R15+, @dir9, R13, @dir9, @R13+, @dir8, R13, @dir8, @R13+, R13 @dir10 @R13+ @dir10 @-R15 @dir10 R13 @dir9 @R13+ @dir9 R13 @dir8 @R13+ @dir8
Type
OP 08 18 0C 1C 0B 1B 09 19 0D 1D 0A 1A 0E 1E
Cycle N Z V C b a 2a 2a 2a 2a b a 2a 2a b a 2a 2a - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Operation (dir10) R13 R13 (dir10) (dir10) (R13), R13 + = 4 (R13) (dir10), R13 + = 4 R15 - = 4, (dir10) (R15) (R15) (dir10), R15 + = 4 (dir9) R13 R13 (dir9) (dir9) (R13), R13 + = 2 (R13) (dir9), R13 + = 2 (dir8) R13 R13 (dir8) (dir8) (R13), R13 + + (R13) (dir8), R13 + + Word Word Word Word Word Word
Remarks
D D D D D D D D D D D D D D
Half word Half word Half word Half word Byte Byte Byte Byte
Note: The relations between the dir field of TYPE-D in the instruction format and the assembler description from disp8 to disp10 are as follows: disp8 dir + disp8:Each disp is a code extension disp9 dir = disp9>>1:Each disp is a code extension disp10 dir = disp10>>2:Each disp is a code extension * Resource instructions (2 instructions) Mnemonic LDRES STRES @Ri+, #u4, #u4 @Ri+
Type
OP BC BD
Cycle N Z V C a a
Operation
Remarks u4: Channel number u4: Channel number
C C
- - - - (Ri) u4 resource Ri + = 4 - - - - u4 resource (Ri) Ri + = 4
* Co-processor instructions (4 instructions) Mnemonic COPOP COPLD COPST COPSV #u4, #CC, CRj, CRi #u4, #CC, Rj, CRi #u4, #CC, CRj, Ri #u4, #CC, CRj, Ri
Type
OP 9F - C 9F - D 9F - E 9F - F
Cycle N Z V C 2+a 1 + 2a 1 + 2a 1 + 2a - - - - - - - - - - - - - - - -
Operation Calculation Rj CRi CRj Ri CRj Ri
Remarks
E E E E
No error traps
104
MB91110 Series
* Other instructions (16 instructions) Mnemonic NOP ANDCCR #u8 ORCCR #u8 STILM ADDSP EXTSB EXTUB EXTSH EXTUH LDM0 LDM1 * LDM STM0 STM1 * STM2 ENTER #u8 #s10 Ri Ri Ri Ri (reglist) (reglist) (reglist) (reglist) (reglist) (reglist) #u10 *5 *2 D 0F *3 D D 8E 8F *1
Type
OP 9F - A 83 93 87 A3 97 - 8 97 - 9 97 - A 97 - B 8C 8D
Cycle N Z V C 1 c c 1 1 1 1 1 1 *4 *4 - *
6
Operation
Remarks
E D D D D E E E E D D
- - - - No changes C C C C CCR and u8 CCR C C C C CCR or u8 CCR - - - - i8 ILM - - - - R15 + = s10 - - - - - - - - - - - - - - - - Sign extension 8 32 bits Zero extension 8 32 bits Sign extension 16 32 bits Zero extension 16 32 bits Load-multi R0 to R7 Load-multi R8 to R15 Load-multi R0 to R15 Store-multi R0 to R7 Store-multi R8 to R15 Store-multi R0 to R15 Entrance processing of function Exit processing of function For SEMAFO management Byte data Set ILM immediate value ADD SP instruction
- - - - (R15) reglist, R15 increment - - - - (R15) reglist, R15 increment - - - - (R15 + +) reglist, - - - - R15 decrement, reglist (R15) - - - - R15 decrement, reglist (R15) - - - - reglist (R15 + +) - - - - R14 (R15 - 4), R15 - 4 R14, R15 - u10 R15 - - - - R14 + 4 R15, (R15 - 4) R14 - - - - Ri TEMP , (Rj) Ri, TEMP (Rj)
*6 - 1+a
LEAVE XCHB @Rj, Ri
E A
9F - 9 8A
b 2a
*1: In the ADDSP instruction, the reference between u8 of TYPE-D in the instruction format and assembler description s10 is as follows. s10 s8 = s10>>2 *2: In the ENTER instruction, the reference between i8 of TYPE-C in the instruction format and assembler description u10 is as follows. u10 u8 = u10>>2 *3: If either of R0 to R7 is specified in reglist, assembler generates LDM0. If either of R8 to R15 is specified, assembler generates LDM1. Both LDM0 and LDM1 may be generated. *4: The number of cycles needed for execution of LDM0 (reglist) and LDM1 (reglist) is given by the following calculation; a x (n - 1) + b + 1 when "n" is number of registers specified. *5: If either of R0 to R7 is specified in reglist, assembler generates STM0. If either of R8 to R15 is specified, assembler generates STM1. Both STM0 and STM1 may be generated. *6: The number of cycles needed for execution of STM0 (reglist) and STM1 (reglist) is given by the following calculation; a x n + 1 when "n" is number of registers specified.
105
MB91110 Series
* 20-bit normal branch macro instructions Mnemonic * CALL20 * BRA20 * BEQ20 * BNE20 * BC20 * BNC20 * BN20 * BP20 * BV20 * BNV20 * BLT20 * BGE20 * BLE20 * BGT20 * BLS20 * BHI20 label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri Operation Next instruction address RP label20 PC , label20 PC if (Z = = 1) then label20 PC ifs/Z = = 0 ifs/C = = 1 ifs/C = = 0 ifs/N = = 1 ifs/N = = 0 ifs/V = = 1 ifs/V = = 0 ifs/V xor N = = 1 ifs/V xor N = = 0 ifs/(V xor N) or Z = = 1 ifs/(V xor N) or Z = = 0 ifs/C or Z = = 1 ifs/C or Z = = 0 Remarks Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register *1 *2 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3
*1: CALL20 (1) If label20 - PC - 2 is between -0x800 and +0x7fe, instruction is generated as follows; CALL label12 (2) If label20 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; LDI:20 #label20, Ri CALL @Ri *2: BRA20 (1) If label20 - PC - 2 is between -0x100 and +0xfe, instruction is generated as follows; BRA label9 (2) If label20 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; LDI:20 #label20, Ri JMP @Ri *3: Bcc20 (BEQ20 to BHI20) (1) If label20 - PC - 2 is between -0x100 and +0xfe, instruction is generated as follows; Bcc label9 (2) If label20 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; Bxcc false xcc is a revolt condition of cc LDI:20 #label20, Ri JMP @Ri false:
106
MB91110 Series
* 20-bit delayed branch macro instructions Mnemonic * CALL20:D label20, Ri * BRA20:D * BEQ20:D * BNE20:D * BC20:D * BNC20:D * BN20:D * BP20:D * BV20:D * BNV20:D * BLT20:D * BGE20:D * BLE20:D * BGT20:D * BLS20:D * BHI20:D label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri label20, Ri Operation Next instruction address + 2 RP label20 PC , label20 PC if (Z = = 1) then label20 PC ifs/Z = = 0 ifs/C = = 1 ifs/C = = 0 ifs/N = = 1 ifs/N = = 0 ifs/V = = 1 ifs/V = = 0 ifs/V xor N = = 1 ifs/V xor N = = 0 ifs/(V xor N) or Z = = 1 ifs/(V xor N) or Z = = 0 ifs/C or Z = = 1 ifs/C or Z = = 0 Remarks Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register *1 *2 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3
*1: CALL20:D (1) If label20 - PC - 2 is between -0x800 and +0x7fe, instruction is generated as follows; CALL:D label12 (2) If label20 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; LDI:20 #label20, Ri CALL:D @Ri *2: BRA20:D (1) If label20 - PC - 2 is between -0x100 and +0xfe, instruction is generated as follows; BRA:D label9 (2) If label20 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; LDI:20 #label20, Ri JMP:D @Ri *3: Bcc20:D (BEQ20:D to BHI20:D) (1) If label20 - PC - 2 is between -0x100 and +0xfe, instruction is generated as follows; Bcc:D label9 (2) If label20 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; Bxcc false xcc is a revolt condition of cc LDI:20 #label20, Ri JMP:D @Ri false:
107
MB91110 Series
* 32-bit normal macro branch instructions Mnemonic * CALL32 * BRA32 * BEQ32 * BNE32 * BC32 * BNC32 * BN32 * BP32 * BV32 * BNV32 * BLT32 * BGE32 * BLE32 * BGT32 * BLS32 * BHI32 label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri Operation Next instruction address RP label32 PC , label32 PC if (Z = = 1) then label32 PC ifs/Z = = 0 ifs/C = = 1 ifs/C = = 0 ifs/N = = 1 ifs/N = = 0 ifs/V = = 1 ifs/V = = 0 ifs/V xor N = = 1 ifs/V xor N = = 0 ifs/(V xor N) or Z = = 1 ifs/(V xor N) or Z = = 0 ifs/C or Z = = 1 ifs/C or Z = = 0 Remarks Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register *1 *2 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3
*1: CALL32 (1) If label32 - PC - 2 is between -0x800 and +0x7fe, instruction is generated as follows; CALL label12 (2) If label32 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; LDI:32 #label32, Ri CALL @Ri *2: BRA32 (1) If label32 - PC - 2 is between -0x100 and +0xfe, instruction is generated as follows; BRA label9 (2) If label32 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; LDI:32 #label32, Ri JMP @Ri *3: Bcc32 (BEQ32 to BHI32) (1) If label32 - PC - 2 is between -0x100 and +0xfe, instruction is generated as follows; Bcc label9 (2) If label32 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; Bxcc false xcc is a revolt condition of cc LDI:32 #label32, Ri JMP @Ri false:
108
MB91110 Series
* 32-bit delayed macro branch instructions Mnemonic * CALL32:D label32, Ri * BRA32:D * BEQ32:D * BNE32:D * BC32:D * BNC32:D * BN32:D * BP32:D * BV32:D * BNV32:D * BLT32:D * BGE32:D * BLE32:D * BGT32:D * BLS32:D * BHI32:D label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri label32, Ri Operation Next instruction address + 2 RP label32 PC , label32 PC if (Z = = 1) then label32 PC ifs/Z = = 0 ifs/C = = 1 ifs/C = = 0 ifs/N = = 1 ifs/N = = 0 ifs/V = = 1 ifs/V = = 0 ifs/V xor N = = 1 ifs/V xor N = = 0 ifs/(V xor N) or Z = = 1 ifs/(V xor N) or Z = = 0 ifs/C or Z = = 1 ifs/C or Z = = 0 Remarks Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register Ri: Temporary register *1 *2 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3 *3
*1: CALL32:D (1) If label32 - PC - 2 is between -0x800 and +0x7fe, instruction is generated as follows; CALL:D label12 (2) If label32 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; LDI:32 #label32, Ri CALL:D @Ri *2: BRA32:D (1) If label32 - PC - 2 is between -0x100 and +0xfe, instruction is generated as follows; BRA:D label9 (2) If label32 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; LDI:32 #label32, Ri JMP:D @Ri *3: Bcc32:D (BEQ32:D to BHI32:D) (1) If label32 - PC - 2 is between -0x100 and +0xfe, instruction is generated as follows; Bcc:D label9 (2) If label32 - PC - 2 is outside of the range given in (1) or includes external reference symbol, instruction is generated as follows; Bxcc false xcc is a revolt condition of cc LDI:32 #label32, Ri JMP:D @Ri false:
109
MB91110 Series
s ORDERING INFORMATION
Part number MB911110PMT2 MB911V110CR Package 144-pin plastic LQFP (FPT-144P-M08) PGA-299C-A01 Remarks
110
MB91110 Series
s PACKAGE DIMENSION
144-pin plastic LQFP (FPT-144P-M08)
22.000.20(.866.008)SQ 20.000.10(.787.004)SQ
108 73
0.1450.055 (.006.002)
109
72
0.08(.003)
Details of "A" part 1.50 -0.10 .059 -.004
+0.20 +.008
(Mounting height)
INDEX
0~8
0.100.10 (.004.004) (Stand off)
144
37
"A" LEAD No.
1 36
0.50(.020)
0.500.20 (.020.008) 0.600.15 (.024.006)
0.25(.010)
0.220.05 (.009.002)
0.08(.003)
M
C
2000 FUJITSU LIMITED F144019S-c-2-4
Dimensions in mm (inches) .
111
MB91110 Series
FUJITSU LIMITED
For further information please contact: Japan FUJITSU LIMITED Corporate Global Business Support Division Electronic Devices Shinjuku Dai-Ichi Seimei Bldg. 7-1, Nishishinjuku 2-chome, Shinjuku-ku, Tokyo 163-0721, Japan Tel: +81-3-5322-3347 Fax: +81-3-5322-3386 http://edevice.fujitsu.com/ North and South America FUJITSU MICROELECTRONICS, INC. 3545 North First Street, San Jose, CA 95134-1804, U.S.A. Tel: +1-408-922-9000 Fax: +1-408-922-9179 Customer Response Center Mon. - Fri.: 7 am - 5 pm (PST) Tel: +1-800-866-8608 Fax: +1-408-922-9179 http://www.fujitsumicro.com/ Europe FUJITSU MICROELECTRONICS EUROPE GmbH Am Siebenstein 6-10, D-63303 Dreieich-Buchschlag, Germany Tel: +49-6103-690-0 Fax: +49-6103-690-122 http://www.fujitsu-fme.com/ Asia Pacific FUJITSU MICROELECTRONICS ASIA PTE. LTD. #05-08, 151 Lorong Chuan, New Tech Park, Singapore 556741 Tel: +65-281-0770 Fax: +65-281-0220 http://www.fmap.com.sg/ Korea FUJITSU MICROELECTRONICS KOREA LTD. 1702 KOSMO TOWER, 1002 Daechi-Dong, Kangnam-Gu,Seoul 135-280 Korea Tel: +82-2-3484-7100 Fax: +82-2-3484-7111
All Rights Reserved. The contents of this document are subject to change without notice. Customers are advised to consult with FUJITSU sales representatives before ordering. The information and circuit diagrams in this document are presented as examples of semiconductor device applications, and are not intended to be incorporated in devices for actual use. Also, FUJITSU is unable to assume responsibility for infringement of any patent rights or other rights of third parties arising from the use of this information or circuit diagrams. The contents of this document may not be reproduced or copied without the permission of FUJITSU LIMITED. FUJITSU semiconductor devices are intended for use in standard applications (computers, office automation and other office equipments, industrial, communications, and measurement equipments, personal or household devices, etc.). CAUTION: Customers considering the use of our products in special applications where failure or abnormal operation may directly affect human lives or cause physical injury or property damage, or where extremely high levels of reliability are demanded (such as aerospace systems, atomic energy controls, sea floor repeaters, vehicle operating controls, medical devices for life support, etc.) are requested to consult with FUJITSU sales representatives before such use. The company will not be responsible for damages arising from such use without prior approval. Any semiconductor devices have inherently a certain rate of failure. You must protect against injury, damage or loss from such failures by incorporating safety design measures into your facility and equipment such as redundancy, fire protection, and prevention of over-current levels and other abnormal operating conditions. If any products described in this document represent goods or technologies subject to certain restrictions on export under the Foreign Exchange and Foreign Trade Control Law of Japan, the prior authorization by Japanese government should be required for export of those products from Japan.
F0101 (c) FUJITSU LIMITED Printed in Japan


▲Up To Search▲   

 
Price & Availability of MB91110

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X